HIFU Model Example in post processor Answered

Hello!

 

I ran the HIFU ultrasound CW and thermal CW files from the example and am trying to analyze the results in post processor. I opened the tmpr file in flex history in post processor and see the graphs created in the simulations, but I want to know how the colored model shown above the simulations was made. Thank you!

4 comments

  • Hey Claire,

    At the bottom of the UltrasoundCW file there's a DATA OUT command make the following changes:

    1. Delete or comment out file out $labl.loss
    2. Copy and cut the line out shap/all from this command
    3. Define a 2nd DATA OUT command directly underneath this one like this

    data
         file out '$labl.flxdato'
         out shap/all

    Mode shapes should be saved to there own file if you want to open them in the Post Processor.

    At the bottom of the thermalCW add data out commands after the plotting loops to export arrays to files.

    Hope this helps,

    Oliver

    Comment actions Permalink
  • Would you mind being more specific as to what kind of data out command?

    Comment actions Permalink
  • Hi Claire,

    Sorry about the delay in reply. The original data out commands at the bottom of both the ultrasoundCW and Pulsed is what I'm refering to:

    It should now be this:

    Comment actions Permalink
  • I was able to get that with Ultrasound, and in the Thermal CW file the code would look like this?

     

    c *******************************************************************************************************
    c
    c INSERT EXEC COMMAND TO RUN MODEL BELOW
    c
    c *******************************************************************************************************


    set tmpr $basetemp /* set entire model to base temperature


    c ***********************************************
    c Run for 75 cycles, plot temperature each loop
    c ***********************************************

    do loop n 1 25
    exec 3
    grph
    plot tmpr rang $basetemp 143.
    end


    end$ loop

    data
    out modl
    out loss
    out pmin
    out pmax

    data

    file out shap.flxdato
    out shap/all
    end

    term
    c **************************
    c Plot maximum temperature
    c **************************
    grph type stnd
    grph
    nvew 2 1
    ttl 1
    CW Operation
    pset sttl 1 'Maximum temperature'
    pset sttl 2 'Temperature in target against time'
    plot tmax
    plot 1
    end


    term

    stop

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post