CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   dynamicRefineFvMesh/ solidBodyMotionFvMesh (https://www.cfd-online.com/Forums/openfoam/71894-dynamicrefinefvmesh-solidbodymotionfvmesh.html)

FG_HSRM January 19, 2010 06:09

dynamicRefineFvMesh/ solidBodyMotionFvMesh
 
Hello all.

I want run a case with a mesh movement and mesh refinement.
Now, I'm looking for the right syntax for the dynamichMeshDict to run both together.


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh solidBodyMotionFvMesh;

solidBodyMotionFvMeshCoeffs
{
solidBodyMotionFunction SKA;
SKACoeffs
{
CofG ( 0 0 0 );
timeDataFileName "constant/6DoF.dat";
}
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh dynamicRefineFvMesh;

dynamicRefineFvMeshCoeffs
{
refineInterval 1;
field alpha1;
lowerRefineLevel 0.001;
upperRefineLevel 0.999;
unrefineLevel 10;
nBufferLayers 1;
maxRefinement 2;
maxCells 200000;
correctFluxes
(
(
phi
U
)
);
dumpLevel true;
}
// ************************************************** *********************** //

Is there a way to handle this?
Thanks a lot.

Regards

idrama January 19, 2010 07:37

I don't think so!

It won't work. You might build a new solver which includes both features ;-).

Kinda regrads

Claus

liping_he July 18, 2012 20:40

Hello,

I have the same issue just you met. Did you solve it? Did you know how to run the two kinds of dynamicMeshDicts at the same time?


regards,
liping

mturcios777 July 19, 2012 12:39

From experience, you need to make a new type of dynamicFvMesh. Maybe call it dynamicFvRefineMotionSolverMesh.

Pluging the OpenFOAM training (I just took the Advanced Course last month), the way things work is explained very well in regards to how dynamic mesh elements work together.


All times are GMT -4. The time now is 21:09.