EnSight 10 Intro Tutorial 1

[kml_flashembed publishmethod=”static” fversion=”8.0.0″ movie=”http://ensight.wpengine.com/wp-content/uploads/wp-content/uploads/screencasts/EnSight10_intro_Basics_I/EnSight10_intro_Basics_I_controller.swf” width=”620″ height=”450″ targetclass=”flashmovie” allowfullscreen=”true” base=”http://ensight.wpengine.com/wp-content/uploads/wp-content/uploads/screencasts/EnSight10_intro_Basics_I/” fvars=”tocdoc=left;showsearch=true;autostart=false;autohide=true;xmp=EnSight10_intro_Basics_I_config.xml;content=EnSight10_intro_Basics_I.mp4;thumb=FirstFrame.png;containerwidth=900;containerheight=675;smoothing=true;enablejsapi=true;fullscreen=true;windowbox=false;showbranding=false;showstartscreen=true;showendscreen=true;basecolor=272727;loop=false”]

Get Adobe Flash player

[/kml_flashembed]

Export FloEFD Data to EnSight

 

In September 2011 Mentor Graphics released the capability to export to EnSight format. There is a fee for this capability, known as efd2ensight, and you have to obtain it and license it from Mentor graphics. The instructions below assume you have taken those steps and want to know how to use the capablity you have licensed.

Load your results in FloEFD

wpid2398-media_1339090370103.png

 

 

Follow the Mentor Graphics Guide Below

wpid2399-media_1339090605797.png

Please notice not to go to www.ensight.com but rather www.ceisoftware.com for more information about EnSight.

The FloEFD Model

As an example this is the model before exporting to EnSight.

wpid2400-media_1339090647892.png

 

 

The EnSight view of the FloEFD Model

The same model after exporting to EnSight. Notice this is EnSight 9 and not EnSight 10. But the export steps are the same.

wpid2401-media_1339090680517.png

 

We hope you enjoy EnSight and FloEFD together. Contact EnSight Support at support@ensight.com if you have detailed questions about using EnSight.

 

 

Support Corner – Calculator Performance Tip

Here’s an interesting calculator problem,

You know that
var{5} is the value of the variable at timestep 5
and
var{0} is the value of the variable at timestep 0.

If you want to know the difference between the two,
you can put the following expression in the calculator.

var{5} – var{0]

but, for models of any size, it is so slow it appears to hang.

Why?

If you include a reference to a variable from two or more different
timesteps, the calculator will change back and forth between timesteps element 
by element or node by node and take a considerable amount of time. If you
need to do a calculation with two different timesteps, assign each of the
timesteps to a temporary variable, then use the temporary variables in your
calculation.

For example,

var{5} – var{0}

is prone to drastic slowdown in EnSight. Whereas

temp5 = var{5}
temp0 = var{0}
temp5-temp0

will run much faster.

This is documented in Knowledge Base under Calculator Variable Problems, and now in ch 7 of the User Manual.

Signed – EnSight Support

Importing and Plotting CSV Files

Importing and Plotting CSV Files

Import a query from a CSV (Comma Separated Value) formatted text file

EnSight has the ability to read queries from external ASCII text files, but the format of these files are specific to EnSight (see the User Manual, chapter 11.10). Many users have data in standard tabular formatted text files (e.g. CSV files from Excel) and may not be in a position to easily reformat this type of data. This QuickTool is designed to help, it can import data directly from CSV and similarly formatted ASCII files as EnSight queries. When the QuickTools button is clicked, the user is first prompted to select the file to open.  Once a file is selected, a dialog is opened to select importing options:

image4_2

Read more

EnVe Side-by-Side Video Editing

Side-by-Side Animation Example

There was a recent request in from a user:
I have two models, and I have post processed them the same. I have similar animations from each result. What I’d really like to do, is to paste the animations in a side-by-side mode so that there is a new single combined animation which show the two results side by side. This the best way of comparing two or more animations.
Now, in most video editors, you only paste front-to-back. Well, not EnVe. You can paste side by side, or top/bottom, or diagonal, etc.
The example zip file (download),  contains an example of this capability:
Case1.avi — animation which is 826×574 pixels, with 30 frames —> will become the lower left image
Case2.avi — animation which is 826×574 pixels, with 30 frames —> will become the lower right image.

case_combine.mtm — multi tile movie instruction file. Have a look. You give the filenames, format, and any offset you want to apply to each animation. You see that Case2.avi is offset by 826 pixels in the horizontal direction (shift to be on the right of the first one). You can use more than 2 files, and just specify the offset for each. The max resolution should be set appropriately (in this case of side by side, it is 1652×574). You could extend to compare 4 cases by offseting case 3 in the vertical pixel, and case 4 in the vertical + horizontal. 0,0 is the lower left hand point in the animation.

Open up EnVe, and drag this case_combine.mtm file into the main EnVe window. You can then write out a new animation, which will be a side by side comparison. Case12.avi is an example output from that.
Nice and easy? Not something that many other programs can do, particularly in the engineering sector.

See also the EnSight documentation for more information on Evo DirectShow plugin for Windows, EVO QuickTime Component for Windows and Macintosh and EVO Animation File Library to learn about writing your own EVO files.

This article was sourced from PythonExchange.com which is a community website for python and EnSight scripting and automation.