CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

dynamicMeshDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2012, 10:56
Default dynamicMeshDict
  #1
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Dear All,

I am trying to undertand how the dynamicMeshDict file is written.

I have understood that I have 4 parametres and I have to set some fields.

Actually, I don't know the syntax that I have to use. Could anyone help? Is there a good documentation about this solver?
Thanks a lot,

Samuele.

Here is my dictionary and below the error that I get. Thanks again,

Samuele

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

dynamicFvMesh      dynamicMotionSolverFvMesh;

motionSolverLibs ("libfvMotionSolvers.so");

solver            displacementLaplacian;

diffusivity       quadratic;


// ************************************************************************* //
Code:
lab@lab-laptop:~/Documenti/cases_OF/OF_case19_closed_cabinet/base$ moveDynamicMesh 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-0bc225064152
Exec   : moveDynamicMesh
Date   : Jun 04 2012
Time   : 15:24:37
Host   : "lab-laptop"
PID    : 7707
Case   : /home/lab/Documenti/cases_OF/OF_case19_closed_cabinet/base
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: displacementLaplacian
Selecting motion diffusion: quadratic


--> FOAM FATAL IO ERROR: 
attempt to read beyond EOF

file: /home/lab/Documenti/cases_OF/OF_case19_closed_cabinet/base/constant/dynamicMeshDict::diffusivity at line 23.

    From function ITstream::read(token&)
    in file db/IOstreams/Tstreams/ITstream.C at line 83.

FOAM exiting
samiam1000 is offline   Reply With Quote

Old   June 4, 2012, 14:09
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Hi Sam,

The motion solvers give very little indication as to how to format. The best way to find out (although slow) is to read the code for the constructor and see what it expects when reading certain keyword. Just guessing based on this error there probably needs to be a subdictionary or extra entry that defines the coefficients of the quadratic function for the diffusivity.
mturcios777 is offline   Reply With Quote

Old   June 8, 2012, 07:36
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
samiam1000 is on a distinguished road
Hi,

could you show me the path to the right files??

Thanks a lot,

Sam
samiam1000 is offline   Reply With Quote

Old   June 8, 2012, 12:23
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
The files are in $FOAM_SRC/fvMotionSolver/fvMotionSolvers/displacement/laplacian (for the displacementLaplacian motion solver which you appear to be using. In the *.C file, it shows that you should be looking for an object of type motionDiffusivity. I don't know where that is, so you'll have to look for that one (doxygen is your friend)
mturcios777 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Question about DynamicMeshDict jordi.muela OpenFOAM Meshing & Mesh Conversion 1 April 24, 2012 12:46
GGI dynamicMeshDict keyword 'direction' lordvon OpenFOAM Running, Solving & CFD 0 April 14, 2012 21:31
dynamicMeshDict , axis aqua OpenFOAM Pre-Processing 0 February 8, 2012 16:01
dynamicMeshDict documentation camox OpenFOAM 2 December 7, 2010 10:43
SKA.C reads fileName read from dynamicMeshDict without expanding it mwild OpenFOAM Bugs 3 August 3, 2010 07:50


All times are GMT -4. The time now is 07:44.