extrude2DMesh does not work !
Hi
I've converted a 2d mesh from a commercial software to openfoam and now i want to convert it to a 3d mesh(2d with 1 layer in z direction). I did the same correctly some months ago with openfoam 2.1 but now for 2.2 it does not work. When i use the command " extrude2DMesh 0.01" i get the error : ---------------------------------------- --> FOAM FATAL ERROR: 0.01 not found in table. Valid entries: 2 ( MeshedSurface polyMesh2D ) From function HashTable<T, Key, Hash>::operator[](const Key&) const ----------------------------------------- I used all formats e.g extrude2DMesh '0.01' and .... but none of the work. I would appreciate any idea. |
You need this dictionary in your system/ folder:
Code:
/*--------------------------------*- C++ -*----------------------------------*\ extrude2DMesh MeshedSurface or extrude2DMesh polyMesh2D Depending on whether your initial mesh is a meshed surface or a 2D polyMesh |
Quote:
Would you please tell me how i should compile this code into my system folder? Also , This is because of the new version of openFoam?because in the previous version i just used extrude2DMesh command. Thank you in advance. |
You don't compile anything, just put that in the system/ folder of your case directory.
Yes, extrude2DMesh changed to include more functionality. |
All times are GMT -4. The time now is 20:47. |