|
[Sponsors] |
[Other] Problem during creation of a new mesh generator |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 13, 2005, 16:44 |
Problem during creation of a new mesh generator
|
#1 |
New Member
Klaus Wittig
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hello OpenFoam friends,
i am up to include pre/post-processor modules for foam into my CalculiX-pre/post-processor (www.calculix.de). But i encounter problems in situations when two cell-faces match each other, who differ only in the point were the node sequence starts (face 1 starts at point x but face 2 starts at y, for example 0,1,2,3 and 2,1,0,3). Usually just one face who points to the element of higher index is kept. But in this situation (i have a scetch but how can i ship it?) the solver does not work. I will try to solve the situation with "cyclic faces". One face for each element, but i do not know if it will work. Has anybody an idea? Best, Klaus |
|
July 14, 2005, 06:57 |
Sketch: I usually dump .obj fi
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Sketch: I usually dump .obj files. Are very simple 3D geometry files.
v x y z f 1 2 3 Download javaview (www.javaview.de?) or use objToVTK and use Paraview. You can attach the .obj files. You cannot have two faces inbetween the same two cells. You will have to discard one of them. Or like you do using cyclics is a solution but a very inefficient one. Can you do simple geometries already? E.g. two hexes? |
|
July 14, 2005, 14:12 |
Hello Mattijs,
thanks for t
|
#3 |
New Member
Klaus Wittig
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hello Mattijs,
thanks for the reply. Yes i can already create meshes if they are "topologically" simple. That means if the meshed blocks have the same amount of elements at opposide sides. Lets say 10 elements at the bottom and 10 at top. But very often it is usefull to have a mesh-transition from lets say 10 at the bottom to 6 at top. In this case some "top"-faces of elements will join "side"-faces of others. In this case openFoam gives no result. I had a try with blockMesh were each element was a separate block but also in this case the mesh-transition failed. By the way the tool which produces the mesh is proven for FEM applications and i use it every day. I just want to add the interface for foam. I can already read the results and create "simple" meshes. But without mesh transition it is hard to realize complicated situations. I know that most CFD-solvers require the "ordered" block-structure but i had the impression that openFoam can deal with arbitrary meshes. Best, Klaus P.S. i could send a scetch if you like. |
|
July 14, 2005, 14:23 |
yes, please send sketch.
-
|
#4 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
yes, please send sketch.
- can you output a format for which there is converter? e.g. fluentMeshToFoam? - Foam has no problems with unstructured meshes. And has no concept of 'blocks' so you will have to do the merging to convert a multi block mesh into an unstructured mesh. - Please attach blockMeshDict that gave problems. |
|
July 14, 2005, 17:02 |
Hi Mattijs,
how can i attac
|
#5 |
New Member
Klaus Wittig
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hi Mattijs,
how can i attach something in the "Message" window of our discussion board? And no, i have no other format available in my tool which foam understands. Concerning CFD i only support duns in the moment. I wanted to write a propper polyMesh first but because of the problems i wrote a blockMesh file. But actually i would like to generate a propper polyMesh file still. How can i deal with situations were two matching elements require a different starting-point for the internal face? (The very question) I care about a smaller blockMeshDict a bit later and will ship it (something has to be done before) Klaus |
|
July 14, 2005, 17:08 |
How can i deal with situations
|
#6 | |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Quote:
However, if you're writing a mesh directly in the FOAM format, this issue does not arise: cells are defined in terms of faces so you never need to ask two faces for equality. I have written a pretty detailed section on how to make and order elements in your own mesh generators to be used with FOAM - have a search through the manual. Have fun, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
||
July 14, 2005, 17:18 |
To attach:
\attach{...}
|
#7 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
To attach:
\attach{...} Have a look in Documentation->Formatting on the left. |
|
July 15, 2005, 19:36 |
Hello Mattijs and Hrvoje,
n
|
#8 |
New Member
Klaus Wittig
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hello Mattijs and Hrvoje,
now it runs. The hint to: - set the number of non-orthogonality correctors to 2 (in system/fvSolution) - halve the time-step. did the work. Now i can generate bodies with transient element density. Thanks a lot! My program cgx will be available in about 2 months with the foam handling capabilities. I will write if it had happened. So long, Klaus P.S: You wrote: "The faces have to be ordered such that on a given cell the faces to neighbouring higher numbered cells are in increasing order if the neighbouring cells are in increasing order." does the utility renumberMesh solve this also? |
|
July 18, 2005, 06:25 |
Yes renumberMesh does this as
|
#9 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Yes renumberMesh does this as well.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 18:16 |
[Other] Mesh Importing Problem | cuteapathy | ANSYS Meshing & Geometry | 2 | June 24, 2017 06:29 |
Problem when importing Gambit mesh into CFX-Pre,Self creation of a face"Primitive 2D" | yidiragawa | CFX | 2 | April 16, 2014 06:30 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |