simpleFoam simulation with mesh from Pointwise crashes immediately
Hi Foamers!
I'm trying to learn how to use Pointwise for OpenFOAM simulations. I'm trying to create a 2D C-grid of an airfoil following the official tutorials: https://www.youtube.com/watch?v=qifDBLbKvwM https://www.youtube.com/watch?v=SwLkbrZMYMo When I try to run my case it works fine with potentialFoam but then throws a FP exception at the first velocity loop. I have used the same numerical setup as for grids created using native blockMesh and so I am quite certain the BCs, schemes and linear solvers are chosen correctly. I'm attaching the case and the Pointwise project (inside the .zip archive). Here's a checkMesh log: Code:
/*---------------------------------------------------------------------------*\ In more details, here are the steps I've taken: 1. create airfoil sketch in Autodesk Inventor and exported as an iges file 2. imported the database to Pointwise, created connectors 3. assembled domains and extruded them by translation of 0.1 units in 1 step 4. exported as CAE for OpenFOAM having defined the BCs 5. ran the case to find it doesn't work I really want to use Pointwise for more complex geometries which I cannot mesh using Python and blockMesh as I normally do. So I really need to get past this initial stage, any help will be much appreciated. https://www.dropbox.com/s/l7p7e9ra0d...ing2D.zip?dl=0 Have a nice Sunday, Artur |
3 Attachment(s)
Hey Artur,
I think I am having the same problem with my 2D NACA0012 O-Mesh. I was given a working mesh from a colleague, and when I try to replicate the mesh in Pointwise the simulation fails on the first time step. I have narrowed down the problem to the faces, neighbor, and owner files created by Pointwise. When I use the ones from the working mesh, all is good, but when I use those exported from Pointwise it crashes. I guess somehow the ordering of the faces or the assignment of owner and neighboring faces is messed up in Pointwise, or effects the fvSchemes or fvSolution settings I'm using. I have attached these files for you and others to see. Have you made any progress on this issue? |
Apologies, I was sure I had posted my solution (took me a long time to figure out!), here it is:
For some reason the Pointwise grid works OK with some linear solvers but doesn't with others, I'm sure it has something to do with the ordering of cells/faces, as you've pointed out as well. To overcome this I use these solvers: pressure: Code:
solver PCG; Code:
solver PBiCG; Let me know if this helps, A |
Excellent, excellent, excellent! This worked like a charm.
If you are ever in Delft, Netherlands send me a message and I'll take you for a beer. Thank you. -Michael |
Perfect, glad it worked OK. I was in Wageningen last week, too bad we only got to this point now. Maybe next time :)
A |
I just noticed something on a different simulation using Pointwise and OpenFOAM: it seems like running the "renumberMesh" utility helps in overcoming the initial problem in this thread, probably there is something about mesh ordering the multi-grid solver needs which it doesn't get from Pointwise by default.
Maybe someone will find this hint useful. A |
All times are GMT -4. The time now is 04:03. |