|
[Sponsors] |
[Commercial meshers] mesh from ANSA to OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 14, 2010, 04:57 |
mesh from ANSA to OpenFOAM
|
#1 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
hi at all!
my problem is the following: i generated a mesh for my complex geometry with a CFD algorithm in ANSA (its a surface mesh). now i heard that i should create a big cube around my geometry to get a volume mesh and openfoam will cut everything outside of my model with blockMesh. is that correct? actually i'm don't really know how to realize to get from a mesh in ansa to a volume mesh in openfoam that can be calculated with. additionally i'm not really sure at what point a define my boundary conditions... already in ansa or later in an openfoam file? best greets! |
|
April 15, 2010, 15:51 |
|
#2 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Hi there.
If you have created a good surface mesh in ANSA, why not create the Volume mesh also there, specify the boundary conditions and output a complete case for OpenFOAM? Which version of ANSA are you using? |
|
April 16, 2010, 03:17 |
|
#3 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
hi! thanks for your reply. i think i'll go two ways to compare them!
1) defining just a surface mesh of triangles without improving it. just output as a STL and volume-meshing will be done by blockMesh and autoHexMesh respectively. 2) as you said: creating a surface mesh in ANSA, improve it (skewness <0.6 (FLUENT) - is that a good criteria?) followed by creating the layers and volume-mesh. actually i'm not really sure how thick my boundary layer should be and where to use volumemeshing (just there where the fluid passes or everywhere in the geometry?). also i don't know how to specify the boundary conditions in ANSA. is it just be done by creating PIDs? best wishes!! PS: i use ANSA 13.0.3 edit: i found the way to specify boundary conditions. what should i choose for my inlet and my outlet? just "patches"? and why isn't possible to define my walls? they are listed in the prop.manager but are not visible in my model like the other PIDs... Last edited by bephi; April 16, 2010 at 04:00. |
|
April 16, 2010, 06:07 |
|
#4 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Hello again,
I suggest you have a look at tutorial PIPE BEND – Case setup and morphing for OpenFOAM accessed from Help - ANSA documentation index You will see first how to start ANSA for CFD, important so that you get all the correct settings by default and then how to setup the boundary conditions for inlet outlet and walls and setup and OpenFOAM case. Hope this helps |
|
April 16, 2010, 06:43 |
|
#5 | |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
Quote:
|
||
April 19, 2010, 09:29 |
|
#6 | |
Senior Member
|
Quote:
ansa does have at least a OpenFOAM Menu-Deck as presentation by Beta CAE System shows! They were a Conference Sponsor of http://opensourcecfd.com/conference2008/ 2008 and they had a booth at the conference http://www.opensourcecfd.com/confere...y/dsc_0101.jpg. I did not attend the conference but ansa supports OF!=>Read: Advanced Pre-processing Solutions For OpenFOAM® V. Skaperdas, S. Saltiel, C. Kolovos Beta CAE Systems S.A., Greece Slides 30-37 are OF-related but I do not know how much they charge for this functionalty? elvis Last edited by elvis; April 19, 2010 at 11:39. |
||
April 19, 2010, 15:45 |
|
#7 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Like every functionality or module in ANSA there is no additional charge.
They all come together as one. |
|
April 20, 2010, 05:20 |
|
#8 |
Member
Join Date: Apr 2010
Posts: 51
Rep Power: 16 |
thanks a lot for your help!
after a week working with ANSA i got a better understanding for the handling and now i think i'm able to create a volume-mesh and write an openfoam output file thanks to the missing cfd tutorial file i requested from ANSA support. |
|
April 20, 2010, 09:31 |
|
#9 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
I am glad to know this!
|
|
August 8, 2010, 13:58 |
how to setup boundary conditions in ANSA
|
#10 | |
New Member
Join Date: Aug 2010
Posts: 5
Rep Power: 16 |
Hi, could you share your experience on how to setup boundary conditions in ANSA?
Thanks Houghston Quote:
|
||
August 9, 2010, 03:36 |
|
#11 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Hello Houghston,
Are you already using ANSA or thinking of doing so? I am asking in order to know if I can use ANSA terminology to explain. In general though boundary conditions are specified through the property card for each property (zone) of your model. You set the type (wall, patch, symmetry etc) and then the flow values (say U fixed value, or p zero gradient etc) You can also specify the solver controls (controlDict, fvSchemes, fvSolution etc) or use predefined ones. Let me know if you have any specific questions. Vangelis |
|
August 9, 2010, 21:46 |
Thanks
|
#12 |
New Member
Join Date: Aug 2010
Posts: 5
Rep Power: 16 |
Vangelis,
Thanks for the information. I am learning ANSA now by going through the user guide. Houghston |
|
August 10, 2010, 03:35 |
|
#13 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Houghston,
I suggest you also check out the CFD tutorials, under Help>ANSA Documentation/Tutorials and Examples There is one for OpenFOAM also. You can also find the corresponding files in the installation directory. Vangelis |
|
April 8, 2013, 06:13 |
|
#14 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hi Vangelis,
I use ANSA and am quite familiar with it. I start learning OpenFoam and thought of creating my background mesh and geometry with ANSA. In order to use snappyHexMesh. But it would be more easy if could create a mesh with ANSA, without the need to convert to OF format. What I can do is create a solid mesh and read it out. It create 7 files in the polyMesh folder: boundary, cellZones, faces, faceZones, neighbor, owner and points. So it seems to work correctly. But what I could not find out yet: How can I define boundaries? Within "Auxilleries" there is a button "Interfaces", but it asks for a patch and a shadow patch. I guess, this is to be used when connecting two seperate meshes. Can anyone help me out? Thanks! |
|
April 8, 2013, 07:18 |
|
#15 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Hi Ay82,
The boundaries are defined from the ANSA Property List. Each ANSA PID is one boundary. If you edit the Property card you can see the OpenFOAM boundary Conditions Hope this helps Best regards Vangelis PS. I assume you start ANSA in CFD mode from the launcher so that all settings are predefined for CFD work |
|
April 8, 2013, 07:43 |
|
#16 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hi,
I will check if its opened in CFD mode but I guess it is. I can switch to openFoam environment so I guess, it is CFD mode. Anyhow, I do create PID's for the inlet, outlet and wall. Then I apply it on shells. Alltogether, these shells create a volume, so I can create a solid mesh. The shells are released. When I output the mesh, these BC's only appear in the boundary file: FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location ""; object boundary; } /*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/ 3 ( WALL { type wall; startFace 4572; nFaces 200; } INLET { type patch; startFace 4772; nFaces 25; } OUTLET { type patch; startFace 4797; nFaces 25; } ) I expect them to appear also in some of the other files, right? I would also expect to define the BC's on the solidfacets of the solid mesh. Or do you define it on shells with nodes that are equal the corresponding node on the solid mesh? |
|
April 8, 2013, 07:49 |
|
#17 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
If you start ANSA and you see the OpenFOAM icon at the top right next to Mesh Button then you are in CFD mode.
Indeed you specify the BCs on the shells. You do not need to assign them on the volume element facets. ANSA will do all the rest correctly. The BCs appear in boundary file the exact boundary conditions will appear in /0/<variable file> |
|
April 8, 2013, 07:58 |
|
#18 |
New Member
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Ok, thats great! Thanks a lot!
I actually just want to create my mesh and do the rest with text editor. |
|
April 8, 2013, 08:14 |
|
#19 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
fair enough!
you are welcome |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSA mesh for sliding meshes (pimpleDyFoam | yosuu | ANSA | 13 | February 16, 2023 11:16 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |