Question about velocity input signal Answered

Hi. I asked last year with similar question ,but I still can't understand

Chloe said if I have velocity input data, use boun-defn and node.

Does it change boundary condition?

Which means if I want to use velocity data as input, do I need to change boundary condition at surface of signal driving out or hole field?

I want to drive my velocity data at surface $i2 $i4 $j2 $j2

And I want to know about acoustic pressure at $i3 $j3

 

 

 

 

3 comments

  • Official comment

    Hi Hyunjae,

    So yes Chloe is right you would define the velocity load using BOUN DEFN and NODE like this:

    boun

         defn velocityload vel func 

         node $i2 $i4 $j2 $j2

    This will not change any of your other boundary conditions this will apply a velocity load to this surface. All this is doing is applying your load it's just done within the BOUN command. 

    If you want to capture acoustic pressure at this point $i3 $j3 then you need to use CALC PRES and POUT HIST:

    calc 

         pres acoustic 

    pout 

         hist aprs $i1 $i1 $j3 $j3 

    Comment actions Permalink
  • Hi. Oliver

    Here is my two questions.

    1. What if I want to use pressure input?

    Is it right that I just use hist and func command like below?

    data hist drv1 * pressure_data.dat
    func hist drv1

    2. I fix my code using your advice but it doesn't work.

    What I only fix is

    defn velocityload vel func 

         node $i2 $i4 $j2 $j2

    Could you tell me what is problem?

    I don't use PZT material.

    Here is my code.

    -------------------------------------------------------

    site
    regn waternl
    regn vacm $i2 $i4 $j1 $j2
    end

    boun
    side xmin absr
    side xmax absr
    side ymin absr
    side ymax absr

    defn volocityload vel func
    node $i2 $i4 $j2 $j2
    end

    % put velocity data

    data hist drv1 * cut_0.dat
    func hist drv1

    calc
    pres aprs
    end

    plod
    pdef pld1 func /* choose driving function and name 'pld1'
    vctr vct1 0. 1. 0. /* choose direction for pressure
    sdf2 pld1 vct1 vacm waternl /* replace with actual matr names
    end

    pout
    hist aprs $i3 $i3 $j3 $j3
    end

    prcs

    -----------------------------------------

    Please help me

    Comment actions Permalink
  • Hi Hyunjae,

    Yes so if you want to use a pressure load the way you have set it up looks fine but if you want to load the same area as the velocity load you will have to add 

    sdf2 pld1 vct1 vacm waternl $i2 $i4 $j2 $j2

    The velocity data is being defined after the velocity load has been defined if you move this code before the BOUN command you should see this work now:

    data hist drv1 * cut_0.dat
    func hist drv1

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post