|
[Sponsors] |
May 25, 2009, 15:17 |
interDyMFoam for axisymmetric geometry
|
#1 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
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 |
|
May 26, 2009, 06:52 |
|
#2 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18 |
Hi,
Check your dimension/units to see you they are consistent. setFields is the most convient way to do this. Pei |
|
May 26, 2009, 14:57 |
|
#3 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rotor 67 full compressor geometry | jf | Main CFD Forum | 3 | January 28, 2024 05:14 |
Importing CAD geometry and Editing edges to match | Ahmed | CFX | 15 | March 21, 2016 12:39 |
car geometry | Arjun | FLUENT | 4 | September 1, 2007 15:08 |
vitual _ real | deneb | FLUENT | 3 | January 22, 2007 04:31 |
Input Geometry from Ideas to Gambit | Knick | FLUENT | 2 | December 11, 2002 03:59 |