CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How to use icoDyMFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 11, 2006, 15:17
Default I have spent quite a while loo
  #1
New Member
 
Bryan Godbolt
Join Date: Mar 2009
Location: London, Ontario, Canada
Posts: 14
Rep Power: 8
soup is on a distinguished road
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 is offline   Reply With Quote

Old   August 14, 2006, 10:29
Default Could someone even point me in
  #2
New Member
 
Bryan Godbolt
Join Date: Mar 2009
Location: London, Ontario, Canada
Posts: 14
Rep Power: 8
soup is on a distinguished road
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.
soup is offline   Reply With Quote

Old   August 14, 2006, 10:34
Default Not that it's going to do you
  #3
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
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
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 14, 2006, 11:53
Default Thank you for your reply. A
  #4
New Member
 
Bryan Godbolt
Join Date: Mar 2009
Location: London, Ontario, Canada
Posts: 14
Rep Power: 8
soup is on a distinguished road
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
soup is offline   Reply With Quote

Old   August 15, 2006, 06:51
Default Bryan - unfortunately I don't
  #5
irc
New Member
 
Ian Cowan
Join Date: Mar 2009
Location: London, UK
Posts: 28
Rep Power: 8
irc is on a distinguished road
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!
irc is offline   Reply With Quote

Old   November 23, 2006, 11:55
Default Hello everybody, I am trying
  #6
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hello everybody,
I am trying the icoDyMFoam on a very simple case, a solid cube rotating inside a sphere:

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
dmoroian is offline   Reply With Quote

Old   November 23, 2006, 12:21
Default Hi Dragos, I'm also trying
  #7
Senior Member
 
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 277
Rep Power: 9
vinz is on a distinguished road
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
vinz is offline   Reply With Quote

Old   November 24, 2006, 04:25
Default Hmm, This is strange, because
  #8
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hmm,
This is strange, because I have only wall boundaries. So the only pressure condition I can think of is zeroGradient.

Dragos
dmoroian is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Relative Fluxes in icoDyMFoam deepsterblue OpenFOAM Running, Solving & CFD 7 July 20, 2012 02:39
Mesh Problem with icoDyMFoam yuhai OpenFOAM Running, Solving & CFD 5 January 14, 2009 15:57
Problem with icoDyMFoam olivier OpenFOAM Running, Solving & CFD 13 December 19, 2008 10:03
Problem with icoDyMFoam tutorial matlie OpenFOAM Bugs 10 April 26, 2007 04:51
Problem with icoDyMFoam philippose OpenFOAM Running, Solving & CFD 19 March 7, 2007 13:06


All times are GMT -4. The time now is 03:19.