Injecting 3D
Hi,
I am trying to create particles in 3D using icoUncoupledKinematicParcelFoam, but injection happens in 2D only. I was wondering if someone could tell me how to change 2D to 3D injection? I noticed that linear momentum happens only in 2D as well. |
please follow up the links below:
|
Same happening when trying to use coalChemistryFoam and checking different type of injections.
Blockmesh is a cube (3D) but every injection and cloud in log files show as 2D. :confused::confused: |
Check the boundary conditions. Make sure none of your dimensions are marked “empty”. For my case, even though I had created a 3D geometry, my boundary conditions were copied from the 2D case.
And the injection I think checks for boundary conditions before injecting. Let me know if it does not work. |
Quote:
Thanks szamani, I think you are right since I checked blockMesh and some undefined faces were being added to default type empty. The problem now is I can't define some of these internal faces due to this error: Code: --> FOAM FATAL ERROR: Trying to specify a boundary face 4(17 21 13 9) on the face on cell 1 which is either an internal face or already belongs to some other patch And this was supposed to be inneccessary since I found in another thread that "Internal faces between blocks (which won't be receiving boundary conditions) don't get assigned as patches - they are simply ignored, and OpenFoam will recognize them as simply being an interface between two blocks". I have read this could be solve duplicating some vertexes but I don't know exactly how to do it... |
In my experience, when that happens it means I am making a mistake in creating the geometry. Make sure you are consistent in the order and numbering in your blockmesh, following the right hand rule.
1- I tell you this, if blockMesh command works, then use “checkMesh” to get a bit more details. 2- find a 3D geometry from a tutorial that is closest to what you want, and modify that 3- use a software to create the mesh instead of blockmesh. You can post your geometry here or email it, I could take a look when I get a chance. |
Thanks again for your help, here is the blockMesh :)
Code:
xlength 0.3368; |
All times are GMT -4. The time now is 19:18. |