OpenFoam2.1 dynamic mesh - expanding a circular face
Hi OpenFoam Users. I am new to OpenFoam and I try to simulate a cylindrical hole expanding. I figured attach and detach dynamic Mesh can help. But I don't know how to use it. Could someone please upload an example of attach and detach dynamic Mesh or point me in the right direction? Thank you in advance.
|
OpenFoam2.1 dynamic mesh - expanding a circular face
Dear OpenFoam users. How do I deform a circular face of a mesh so that its radius increases. I want to use this concept to simulate a cylindrical hole expanding radially. If someone has done a similar case, please point me to the right direction or post a case file. Thank you very much.
pan |
Greetings panpanzhong and welcome to the forum!
It'll be easier to help you if you provide a simple test case that can be adapted to do what you need. For more ideas, I suggest that you check the tutorials located at:
Bruno |
1 Attachment(s)
I solved this problem by editting a source code. I attach my source code with a test case here.
First I put the folder "libMyPolyNomVelocity" in the "OpenFOAM/User/run" directory and then compile it doing the following in terminal cd $FOAM_RUN wclean wmake libso Now I change to the case directory for movingCyl and execute the following: blockMesh moveDynamicMesh moveDynamicMesh can be replaced with "solver"DyMFoam. ei. sonicDyMFoam, icoDyMFoam, rhoCentralDyMFoam. These will solve the whole case instead of just the moving mesh. |
All times are GMT -4. The time now is 21:28. |