CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ANSA (
-   -   ANSA for CFD mesh (

santosh kangarlan December 3, 2008 08:04

ANSA for CFD mesh

i would like to have your opinion about a mesh engine named ANSA from BETA CAE.,

My company wish to buy a cfd mesh engine for advance mesh creation, we have hypermesh for mesh and hyperworks for structural.

we believe that an expert mesh engine for cfd should be much better for cfd than hypermesh.

i wish to have your opinions about the ANSA mesh engine for mesh export to star cd and fluent and cfd ace+

and also if you believe that is any other mesh engine please give me info also about that.

thanks a lot

RKT December 4, 2008 04:14

Re: ANSA for CFD mesh
you can try ICEM CFD.

it has better model cleanup capabilities.

Pratik Mehta December 5, 2008 15:50

Re: ANSA for CFD mesh
Hi , santosh

I am user of both the meshing software, I personally prefer to use ANSA for all pre processing jobs. ANSA has a great capability to handle complex geometries whereas ICEM often gives trouble in making clean up of geometries or even meshing . But on the for Hex blocking ICEM is the only software that makes really good quality Hexa mesh. So I would say if you intend to only go for hybrid mesh then ANSA would suite to your need . Also you need to look from the financial aspect since ICEM is a bit cheaper .

I hope this suggestion helps you make a choice

Balduin Bankerotti December 5, 2008 17:32

Re: ANSA for CFD mesh
GridPro makes much better hex meshes than ICEM. The only advantage of ICEM here is, that it is easy to create bad quality meshes where GridPro forces you to high quality meshes which is sometimes a bit more work.

Vincent RIVOLA December 13, 2008 07:35

Re: ANSA for CFD mesh
Indeed Balduin, I agree with you. GridPro integrates a much better engine to generate very high quality hex multi block structured grids. However I don't agree on the easiness to use ICEM more than GridPro. It depends a lot on what you want to mesh. But if you need to do some variation studies for example, the philosophy behind GridPro allows you to do only one topology for and then generate the grid automatically for different shapes which are not too different.

But the main question is actually, what cases do you plan to do with your mesh generator and what is the accuracy you need? Then, it will possible to indicate the best one.

sam January 16, 2009 05:22

Re: ANSA for CFD mesh
Hey Balduin ,

Are you a GridPro user? Sam

thorou March 30, 2010 12:08

Script on Ansa
I would like to script the creation of a box and to mesh this one with Ansa V13.
I think it is very simple but I don't fine anywhere some informations concerning the creation of faces.I can create points, curves but that's all.:(.
Someone can help me ??

Thank you


vangelis April 21, 2010 10:12

Hi Thomas,

Could you clarify your question.
Do you want to create a geometry in ANSA
in a fully automated way by scripting?

What is your exact target, in case you should approach this
in another way?



thorou April 21, 2010 11:25

Script on Ansa
Hi Vangelis,
Thank you for your reply
I can now create my box and do everything I want (Rename entities and PID, mesh it, export).
I try now to autorun my script when I load it

vangelis April 22, 2010 01:33

Hi Thomas,

If you want to start ANSA and run a script automatically you can use the -exec option as shown here:

<path>/ -exec import_script:my_script.c -exec my_function

In this case the 64bit ANSA will start, will load a script called script.c and will then execute the function my_function which is described in the script that you have imported and contains all the steps you want to automate.

Does this help?

thorou April 22, 2010 02:27

Hi Vangelis,

It is exactly what I want.
Thank you very much


vangelis April 22, 2010 03:35

Hi Thomas

You are very welcome



SriGanesh Doshaim March 5, 2013 11:15

ANSA script
Hi Vangelis,

We are working on few Quality check points.
Ex. Finding of boundary elements which have less than dia 6.
Connection setting check,
Duplicate spot weld check.

We are able to work with FE and their card values, but when GEOMETRY comes to picture we could not work further.

Is there any possibilities to find out relation between shell or solid nodes to GEOMETRY?
We want to check weather the FE nodes lie on the Geometry face or not.

SriGanesh Doshaim.

vangelis March 5, 2013 11:29

Dear SriGanesh Doshaim,

I am not sure I understand the checks about
dia 6
Duplicate spot weld check

Are we talking about a CFD or an FEA model.

Which ANSA version are you using?

Now if you want to see the distance of the mesh nodes
from the geometry (if I understand correctly)
you should switch tp SHADOW and the view mode from ENT to QGRAPH mode
(while in F11 window Graph Parameters tab
the Quality Graph is set to Distortion)

I recommend that you start ANSA in CFD mode so that all these
settings in F11 are already set

Hope this helps


SriGanesh Doshaim March 6, 2013 00:51

ANSA script
Hi Vangelis,

Thanks for your quick reply,

We are talking about FEA mesh model.

Since our client is using the old version (13.1.4), we are using the same.

We need to get the result of QGRAPH through ANSA scripting.
(Ex. If the node does not lie on the Geometry, we need to highlight those nodes)

Can you brief us on the API's to be used for comparing GEOMETRY vs FEA mesh models?

We want to get the results through ANSA script..

SriGanesh Doshaim.

vangelis March 6, 2013 03:57

Hi SriGanesh Doshaim,

Do you want to compare a mesh with another geometry
or want to examine the meshed geometry for deviation from
the surface?

To compare two separate groups, one geometry and one FE-mod mesh
you need to switch to view mode
VISIB>S.GRAPH for separation graph

To examine the deviation of the nodes of a meshed geometry
you need to switch to
VISIB>Q.GRAPH for quality graph
where in F11 window, Graph Param tab you should set
Quality Graph by Distance from Geometry

I do not think there is an option to isolate the differences in v13.1.x

The only quality criterion the you could use to isolate the elements
with EXTREME is the F11>Quality>Shells>Mesh Distortion
but this calculates the distance of the mid point of the element to the
surface not the distance of the nodes to the surface

Hope this helps


SriGanesh Doshaim March 6, 2013 09:04

ANSA script
Dear Vangelis,

Yes,. We want to compare the Mesh with another Geometry and get the deviation.

Is there any possibilities to get the deviation between Mesh with geometry through ANSA SCRIPT?

We need to create a macro for comparing and get the deviation. (Results Can be elements or nodes).

SriGanesh Doshaim.

vangelis March 6, 2013 09:33

Dear SriGanesh Doshaim,

There is a script function for isolating elements
with a specific range in the fringe bar plot of S.GRAPH,
but it is available in v13.2.0
The function is called



SriGanesh Doshaim March 6, 2013 09:48

ANSA script
Dear Vangelis,

above reply was helpful,
But still we don't have the rights to shift over v13.2.x.

Is there any other way around to get the result?

Could you please give us logic?

SriGanesh Doshaim.

vangelis March 6, 2013 10:14

Dear SriGanesh Doshaim,

I am sorry but I cannot thing of an automated way to do this in v13.1.x


All times are GMT -4. The time now is 23:57.