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

interDyMFoam for axisymmetric geometry

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 25, 2009, 15:17
Default interDyMFoam for axisymmetric geometry
  #1
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 8
antonio_ing is on a distinguished road
Hi foamers

I'm working with a student that has to study movements of an object in a highly viscous fluid surrounded by air. The geometry is axysimmetric and i have already done the geometry. How can i set the phase, since the setField command doesn't do anything. I'm doing something stupid i know, but i have no experience in interFoam. So, can you help me. How can i set the region with gamma=1 like in the dambreak tutorial? everytime i ran setField paraview doesn't show me any change
antonio_ing is offline   Reply With Quote

Old   May 26, 2009, 06:52
Default
  #2
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 271
Rep Power: 9
phsieh2005 is on a distinguished road
Hi,

Check your dimension/units to see you they are consistent. setFields is the most convient way to do this.

Pei
phsieh2005 is offline   Reply With Quote

Old   May 26, 2009, 14:57
Default
  #3
Member
 
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 8
antonio_ing is on a distinguished road
here there is my gamma file:

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

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
movingWall
{
type zeroGradient;
}
farFieldMoving
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
fixedWall
{
type fixedValue;
value uniform 0;
}
axis
{
type symmetryPlane;
}
left
{
type zeroGradient;
}
farField
{
type zeroGradient;
}
back
{
type wedge;
}
front
{
type wedge;
}
}


and my setfieldDict file

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

defaultFieldValues
(
volScalarFieldValue gamma 0
volVectorFieldValue U (0 0 0)
);

regions
(
boxToCell
{
box (-0.1 4 -1) (0 0 1);

fieldValues
(
volScalarFieldValue gamma 1
);
}
);
the region inside the box (that is in my case a wedge,does it change something???) is where i would like to have gamma=1. Also i got this result when i run interDyMFoam:

keyword agglomerator is undefined in dictionary ""

file: from line 0 to line 0.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

FOAM exiting
what can i do?
antonio_ing 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
Importing CAD geometry and Editing edges to match Ahmed CFX 14 June 26, 2015 12:16
Rotor 67 full compressor geometry jf Main CFD Forum 1 May 26, 2015 10:48
car geometry Arjun FLUENT 4 September 1, 2007 15:08
vitual _ real deneb FLUENT 3 January 22, 2007 05:31
Input Geometry from Ideas to Gambit Knick FLUENT 2 December 11, 2002 04:59


All times are GMT -4. The time now is 16:02.