|
[Sponsors] |
January 29, 2013, 22:56 |
SolidBodyMotion in RhoCentralDyMFoam
|
#1 |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Hi everyone,
I have been trying to run some simulations moving the whole mesh as a rigid body using pimpleDyMFoam as starting point. I can run simple oscillating cases in pimpleDyMFoam and the results agree with the analytical values (i.e. Theodorsen function for an oscillating airfoil). I want to move now to rhoCentralDyMFoam, as I have been working with it for a while already. If I deform the mesh, I get similar results to what I was getting in pimpleDyMFoam. However, when I try to move the mesh as a rigid body, rhoCentralDyMFoam still asks for a solver, and even if I provide one I think it is mixing the two approaches. Taking a look at rhoCentralDyMFoam.c I have seen that it calls motionSolver.H and CreateMesh.H, instead of dynamicFvMesh.H and CreateDynamicFvMesh.H. So, it seems that when it was programmed it was not intended to use all the capabilities available in some other solvers. Can anybody put some light into this?. I have started to modify the code to make it work with solid body motions, but maybe there was a good reason not to do this at the original time and I might just be wasting my time... Thanks a lot and best regards |
|
January 30, 2013, 06:06 |
|
#2 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
hi
Im going to run a mesh with solid body motion.but i don't know how to start in rhoPimpleFoam.could you send me your case? Another question i didn't get its answer is abot residualControl in rhoPimpleFoam.whats it's duty when we can set tolerances in related dictionaries in fvSolution? |
|
January 30, 2013, 06:07 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
hi
Im going to run a mesh with solid body motion.but i don't know how to start in PimpleDYMFoam.could you send me your case? Another question i didn't get its answer is abot residualControl in rhoPimpleFoam.whats it's duty when we can set tolerances in related dictionaries in fvSolution? Thanks. Last edited by immortality; January 30, 2013 at 10:17. |
|
January 30, 2013, 07:27 |
|
#4 | |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Quote:
Code:
dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ("libfvMotionSolvers.so"); solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction oscillatingRotatingMotion; oscillatingRotatingMotionCoeffs { CofG (0.25 0.007 0.125); amplitude (0 0 0.573); omega 30.; } } |
||
January 30, 2013, 10:21 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
sorry.i corrected it.how can specify which cells are moving and which are stationary ones? Could you send me necessary files?thanks.
|
|
January 30, 2013, 19:06 |
|
#6 |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
The dynamicMeshDict file I shared is all you need to move the mesh rigidly, it all moves as a solid. If you want to specify only certain zones I think you need to use AMI, but I have never done it...
|
|
January 31, 2013, 13:32 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks.these show what i want to model.
|
|
February 4, 2013, 02:47 |
|
#8 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
does anyone could help on how can it be simulated?how to start?
|
|
February 5, 2013, 15:30 |
|
#9 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Ruben do you know how can i set in the dictionary you wrote for a linear displacement solid body motion?
|
|
February 6, 2013, 20:06 |
|
#10 | |
New Member
Ruben Moreno
Join Date: Nov 2011
Posts: 6
Rep Power: 15 |
Quote:
src/dynamicFvMesh/solidBodyMotionFvMesh/solidBodyMotionFunctions/* |
||
February 12, 2013, 13:34 |
|
#11 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks.but i dont want oscillating motion.how to set linear constant velocity motion?
|
|
March 16, 2016, 15:29 |
Solid Body Motion rhoCentralDyMFoam ACMI
|
#12 |
New Member
Join Date: Oct 2014
Posts: 3
Rep Power: 12 |
Hello,
I just tried the same thing, starting with the tutorial oscillatingInletACMI2D and modifying it to use rhoCentralDyMFoam instead of pimpleDyMFoam. Just like the OP, it asks for a solver even though it shouldn't use one for the prescribed solid body motion. Here is my dynamicMeshDict file: FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object dynamicMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ( "libfvMotionSolvers.so" ); solidBodyMotionFvMeshCoeffs { cellZone inletChannel; solidBodyMotionFunction oscillatingLinearMotion; oscillatingLinearMotionCoeffs { amplitude (0 0.5 0); omega 3.14; // rad/s (.5 rps) } } This is an old thread, but I wonder if anyone has found a workaround? Thanks! |
|
October 31, 2018, 06:29 |
Solid body motion function
|
#13 |
New Member
Chayanit Nigaltia
Join Date: Jan 2018
Posts: 29
Rep Power: 8 |
For mesh movement my dynamicMeshDict file is as follow
dynamicFvMesh solidBodyMotionFvMesh; motionSolverLibs ("libfvMotionSolvers.so"); solidBodyMotionFvMeshCoeffs { solidBodyMotionFunction oscillatingLinearMotion; oscillatingLinearMotionCoeffs { amplitude (0 0 0.573); omega 30; } } It is working fine on airfoil pitching. But can anyone tell me what is meant by amplitude and omega in this file.What amplitude and omega is it referring to and is this fine to work on pitching foil? Any reply would be appreciated. regards Chayanit |
|
Tags |
dynamicmesh, rhocentraldymfoam, solid body |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A case for rhoCentralDYMFoam | immortality | OpenFOAM Running, Solving & CFD | 3 | June 5, 2014 02:54 |
[mesh manipulation] Which solver for solidBodyMotion | A.A. | OpenFOAM Meshing & Mesh Conversion | 6 | January 31, 2013 13:45 |
[blockMesh] solidBodyMotion with cavity tutorial? | A.A. | OpenFOAM Meshing & Mesh Conversion | 0 | July 19, 2012 11:40 |
Using solidBodyMotion for rigid body motion | L1011 | OpenFOAM | 4 | July 5, 2011 05:59 |
solidbodymotion and mesh.update() | pablodecastillo | OpenFOAM Running, Solving & CFD | 0 | April 13, 2011 19:24 |