CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to use icoDyMFOAM (http://www.cfd-online.com/Forums/openfoam-solving/59926-how-use-icodymfoam.html)

soup August 11, 2006 15:17

I have spent quite a while loo
 
I have spent quite a while looking at openFoam's different solvers and I think icoDyMFOAM will do what I want. However I can't find anything on how to use it.

I hope i'm just missing something but is there someone who could tell me where to look for documentation on icoDyMFOAM. I would also like to know more about dynamicMeshDict. Where can I find out what options are available and what the options do?

Any help is greatly appreciated.

soup August 14, 2006 10:29

Could someone even point me in
 
Could someone even point me in the direction of the source code that reads in dynamicMeshDict? I have been looking at the source for icoDyMFoam and trying to follow all the #includes but I haven't been able to track it down.

hjasak August 14, 2006 10:34

Not that it's going to do you
 
Not that it's going to do you any good, but the piece of code you are looking for is:

OpenFOAM-1.3/src/dynamicFvMesh/dynamicFvMesh/newDynamicFvMesh.C, line 39.

It then does run-time selection from available dynamic meshes and the story continues in the selected mesh type.

Enjoy,

Hrv

soup August 14, 2006 11:53

Thank you for your reply. A
 
Thank you for your reply.

As far as I can tell no documentation exists for icoDyMFoam. Could you please confirm this or do I need to look harder?

You're right that line of code doesn't do me much good. Is there a better way for me to find out how to use dynamicMeshDict to set up a dynamic mesh?

Thanks again

irc August 15, 2006 06:51

Bryan - unfortunately I don't
 
Bryan - unfortunately I don't think there is any real documentation - this takes time to produce, I guess, and everyone's busy. As a fellow initiate to dynamic meshes under OF, I can only suggest that you spend some time reviewing the tutorial cases and trawling through the threads on this message board related to dynamic/moving meshes - you should then begin to put the pieces together. When you have a more specific question on how a certain bit works, then you may get more of a response. Good luck!

dmoroian November 23, 2006 10:55

Hello everybody, I am trying
 
Hello everybody,
I am trying the icoDyMFoam on a very simple case, a solid cube rotating inside a sphere:
http://www.cfd-online.com/OpenFOAM_D...your_image.gif
From the first time step I get the following error:
lap08 mjukvara-1.3/run> ~/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/icoDyMFoam ./ sliding
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : /lap08/soft/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/icoDyMF oam ./ sliding
Date : Nov 23 2006
Time : 16:50:24
Host : lap08
PID : 29131
Root : /lap08/soft/OpenFOAM/mjukvara-1.3/run/
Case : sliding
Nprocs : 1
Create time

Create mesh

Selecting dynamicFvMesh mixerFvMesh
void mixerFvMesh::addZonesAndModifiers() : Zones and modifiers already present. Skipping.
Mixer mesh:
origin: (0 0 0)
axis: (0 0 1)
rpm: 10
Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Courant Number mean: 0 max: 0
deltaT = 5.99995e-06
Time = 5.99995e-06

ICCG: Solving for pcorr, Initial residual = 1, Final residual = 7.39948e-09, No Iterations 91
ICCG: Solving for pcorr, Initial residual = 0.779809, Final residual = 9.59514e-09, No Iterations 85
time step continuity errors : sum local = 3.36793e-19, global = -1.16263e-34, cumulative = -1.16263e-34
BICCG: Solving for Ux, Initial residual = 1, Final residual = 1.48658e-11, No Iterations 1
BICCG: Solving for Uy, Initial residual = 1, Final residual = 1.55559e-11, No Iterations 1
BICCG: Solving for Uz, Initial residual = 1, Final residual = 1.45563e-11, No Iterations 1
ICCG: Solving for p, Initial residual = 1, Final residual = 9.0969e-07, No Iterations 72
ICCG: Solving for p, Initial residual = 0.565172, Final residual = 7.47717e-07, No Iterations 69
time step continuity errors : sum local = 2.05296e-19, global = 4.27936e-34, cumulative = 3.11673e-34


--> FOAM FATAL ERROR : Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
fixedMassOut: 0.465426 massIn: 0.465426 diff: 3.44336e-12

From function
adjustPhi(surfaceScalarField& phi, const volVectorField& U,const volScalarField& p
in file cfdTools/general/adjustPhi/adjustPhi.C at line 108.

FOAM exiting


How 3.4e-12 can be too large error? Any sugestions on how to proceed further?

Dragos

vinz November 23, 2006 11:21

Hi Dragos, I'm also trying
 
Hi Dragos,

I'm also trying to use icoDymFOAM solver at this time.
As far as I know, such errors are occuring because of boundary conditions problems, especialy for the pressure. So check that way, andd try different possibilities.
Hope it was helpful,

Vincent

dmoroian November 24, 2006 03:25

Hmm, This is strange, because
 
Hmm,
This is strange, because I have only wall boundaries. So the only pressure condition I can think of is zeroGradient.

Dragos


All times are GMT -4. The time now is 05:42.