How is aspect ratio computed?
Quote:
Rather than start a new thread, I would appreciate it if you could please tell me how the aspect ratio in openfoam is computed. The reason I ask is that I ran checkMesh on a model and I received a warning that says: Code:
Checking geometry... |
Greetings musahossein,
I've moved your post from here: http://www.cfd-online.com/Forums/ope...structpar.html - because that thread is not of the same topic you're asking about here. As for aspect ratio: https://openfoamwiki.net/index.php/C...ut_explanation Quote:
----------- edit: I had quoted I had updated on the wiki, but it became larger for each iteration. Therefore, I've removed the quote. ----------- Therefore, in your case would be: Code:
2 x 0.2 x 0.025 (m) vs 50 x 100 x 3 (cells) => Anyway, the maximum cell aspect ratio in your case clearly seems to be: (Maximum face area)/(Minimum face area) = 0.00133333/1e-06 = 1333.33 ------------- edit: Looks like I misinterpreted a detail... it was not the lengths that needs to be measured, it was the face areas of the bounding box of the cell. Therefore: Code:
0.04 x 0.002 = 8e-5 ------------- Best regards, Bruno |
How is aspect ratio computed?
Quote:
|
Quote:
Quote:
Quote:
|
How is aspect ratio computed?
Quote:
Code:
FoamFile Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |
the pesky PrefPoint Problem
I fixed the mesh, and checked it in paraFoam, Also performed a checkMesh and it looks everything is ok. However when I do a parallel run, I get the following error right after domain decomposition saying that the pRefPoint 0,0,0.0124 was found on 2 domains. How can I ensure that the prefpoint is in one domain only? My decomposition in parallel is 3x2x1 (3 processors in the x direction, 2 processors in the y direction and 1 processor in the z direction). The axes are in carteseian coordinates with the x-y plane parallel to the paper and z axis normal to it.
Commence parallel processing Code:
[0] [1] |
Greetings musahossein,
Quote:
Quote:
Quote:
Good luck! Best regards, Bruno |
Quote:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
prepoint error
I noted that the prefpoint error comes up, when the OpenFOAM has crashed as the numerical analysis has gotten haywire. In my case, I have coupled a structural code with OpenFOAM. The structural code calculates a displacement which is then processed by OpenFoam and provides wall pressures for the tank. This pressure / force is then sent back to the structural code for computing dispalcements. This is done at every time step. I noted that when the acceleration starts to get very large, OpenFOAM crashes and issues the prefPoint error as the last gasp. So I dont think that the prefpoint error is really an error, but a consequence of a numerical meltdown due to very large accelerations. But I would still like to hear your comments on the latest blockMeshDict file that sent you. I am checking the mesh and the aspect ratio as well as checking the mesh in ParaFOAM to ensure that what I see is what I intended.
I look forward to your comment. Thanks again. |
Please follow the instructions given here: Posting code and output with [CODE]
As for the problem, here's an excerpt of what you posted: Quote:
Code:
convertToMeters 0.1; As for "vertexes": http://en.wikipedia.org/wiki/Vertex |
Quote:
|
All times are GMT -4. The time now is 18:21. |