Right now I'm not at work so I can't post it, but I can tell it fails with an error of different areas in faces of cells on the boundary of the processors. Something like
"face # area does not match neighbour # by %" |
Sounds like a boundary mismatch. Anyway, post it when you have a chance.
|
1 Attachment(s)
I don't get what you mean by "boundary mismatch".
If I run the case without decomposing it, it runs without any errors. If I run it decomposing it first, it gives the error you can see in the log attached. Thanks. |
1 Attachment(s)
I ran it serial and it went okay except for some weird faces in your borde_ataqe and borde_salida regions. The ones in the jpg are for the trailing edge on the Front plane. There area few others. I think they are not connecting properly with their equivalent faces between the Front and Back planes. Their general location corresponds to the error reported in your log file.
There are some warnings in your log file regarding possible wedges between the Front and Back planes as well. Might be related... Code:
--> FOAM Warning : Oh yeah, the trailing edge is warped too in the z direction but this won't matter once you extrude as per the procedure I suggested above. It's the snappy bug for CAD edges but apparently they fixed it in the next release. |
Ran it in parallel and snappyHexMesh finishes similarly to the serial run. The mesh also fails two checkMesh tests in both serial and parallel.
Code:
***Number of edges not aligned with or perpendicular to non-empty directions: 38872 |
How did you run it in parallel?
I always get the same error. I've tried a few combinations, even without the boxes and always fails. |
|
I think you have to do
mpirun -np snappyHexMesh -parallel so it really runs it in parallel. Am I wrong? |
That's how I run all my OF executables in parallel for OpenMPI. Use it and you'll see that it works. I just tried the -parallel option and it failed like it did for you. They provide this option in the user guide for 1.7.x but I am not sure when it was introduced. Personally I never used it. You might want to search the forum on this topic.
Anyway, both parallel and serial checkMesh fail so the problem is in the specific settings at the leading/trailing edges. I am not sure but I think I've seen something like this a few months ago with snappy when preparing the 2D procedure. A simpler refinement box around the entire airfoil and extending to the exit plane could work better. |
By the way you don't have to reconstruct your parallel case anymore. Just process it as you would a serial run. That part of the user guide is outdated.
Definitely skip the -parallel option. It might actually be the (very) old way of doing things. |
That way you don't to decompose your case either. I don't think that's the right way of doing it.
http://www.cfd-online.com/Forums/ope...-parallel.html |
It's up to you. All I can tell you is that -parallel is not needed and it's been a while that you don't have to reconstruct your case anymore. Used to be like that with the older parallel implementation but not anymore.
Wouldn't hurt to try it :) |
Ok, I just tried and it does not work the way you say.
It takes the same time to perform, and twice the ram. It is say doing both processors perform the same case. It even works without decomposing. |
Oops my bad! Just checked our execution scripts and it is implemented with the -parallel option.
|
Hi all,
I've been reading through this topic and practicing a bit on the method discribed by Ziad but I struggle to understand one thing: In order to create the 2D mesh starting from a sHM mesh, we need to make a 3D mesh with the face of interest that has sufficiently enough cells to be usefull to us. So for example, in my case, I need to mesh a foil section with about 4M cells to obtain a mere 140k cells once 2d'ed. Am I missing something there or is is there a way to avoid spending a fair bit of time making a big mesh to get a dumb coarse 2D mesh? Thanks, |
extrudeMesh
The method for me does not seem to work. I have tried to find a solution. To no avail. The problem is as follows:
I am trying to model a multi element wing cross section. First I create the blockMesh and run sHM in parallel. Subsequently I use reconstructParMesh to view it in paraview. In paraview it looks good. Then I copy the polyMesh directory from time3 to constant and I run extrudeMesh. However it does not create new patches. Needless to say, autoPatch does not work either. My model is in the y-z plane. However I don't quite understand how to edit the extrudeMeshDict so that it works. (I am assuming this is the same file as the extrudeProperties file posted by ziad?) I did try several combinations of the wedge properties, but this did not help. Any thoughts? Thanks in advance, Nick |
OpenFOAM version
Apologies I forgot to mention OF and ubuntu version. I am running OF 2.01 (I think, the latest version in the ubuntu software center) and Ubuntu 11.04.
|
Quote:
Code:
// What to extrude: |
All times are GMT -4. The time now is 10:03. |