what is the importance of locationInMesh keyWord in snappyHexDict?
1 Attachment(s)
Hi Foamers,
I would like to know what is the signification of locationInMesh, how would go about specifying it? (how do I compute it?) I have case where I need to generate mesh around an Industrial Fan (like a ceiling fan but Industrial). I have given all the parameters in snappyHexDict appropriately but the mesh generated doesn't acknowledge my surface (Fan .stl file) is a wall. in boundary i have Fan { type wall; nFaces 0; // why 0?? startFace 80894; } you can see nFaces is 0. I am attaching my snappyHexDict. I have closely followed the defaults of (for blockMesh and snappyHexMesh dicts) incompressible/pimpleFoam/pimpleDymFoam/propellor. |
Hi,
i managed to get the coordinates through paraFoam. Just open your blockMesh in paraFoam (without snappy Mesh) and then import also your Fan.stl. As you made your blockMesh by yourself you should have the min and max coordinates of your block. In paraFoam you have a visualisation of the current position from your Fan to your blockMesh. Now just pick a point that is obviously not inside the Fan and use this coordinates for "locationInMesh". I think there are also some other ways to get it done properly. This method was the easiest for me without "googling" etc. Greetings |
Quote:
there are no errors in log.snappyHexMesh , what am I missing? |
Yes the point has to be inside the blockMesh mesh but as u want to simulate the streaming around your fan the point has to be outside the fan.
About your other error i have no idea what it could be, i am also very new to sHM and OF. |
All times are GMT -4. The time now is 16:48. |