Using your own mesh in DAFoam #118
Unanswered
Janfoam
asked this question in
Installation
Replies: 1 comment 5 replies
-
Your mesh has an aspect ratio of 1.6e5. This is way too high. Ideally, you want this ratio to be less than 1000. A couple of thousands are acceptable, but not 1.6e5! Check the mesh in ParaView. If you really want to bypass the mesh quality check and run it, add |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you Friedenhe for answering my questions in the FFD thread.
I decided to open a new discussion as while this was brought up in the FFD thread has more to do with using my own mesh and not FFD per se. This will make it easier for others who have similar problems to find the answers they need.
I tried our mesh which has 224000 cells. I noticed that in the previous DAFoam version there was an option in the runscript.py to change values in the aspect ratio, orthogonality and skewness. Please see the code snippet below. I do not find this option in the newer version of DAFoam. Can you please say where this has moved to?
With our new mesh I am getting the following error: please see the output screens below. There was a failed mesh check and right after the error: pyDAFoam Error: Primal solution failed for the baseline design!. Could the check mesh be the reason for the error? I relaxed the primalMinResTol a bit: instead of 1x10^-8, I have 1x10^-6. Sometime ago, this worked after having a similar error but did not help now.
Some points for troubleshooting "cannot find file":
When using my own mesh the zero folder was not created as usually happens when using the mesh that comes with DAFoam. When running the simulation the following error appeared about not being able to find a file. In this case, it was necessary to create the zero folder by using the command: cp -r 0.orig 0. Once the folder is created then the simulation will run.
Beta Was this translation helpful? Give feedback.
All reactions