|
[Sponsors] |
March 15, 2013, 12:19 |
motionU file
|
#1 |
Senior Member
Sasan Ghomi
Join Date: Sep 2012
Location: Denmark
Posts: 292
Rep Power: 14 |
Hi foamers ,
What is motionU file ?? I think it used for cases with dynamic mesh..... My second question is about componentMixed type that used for the piston in the below motionU file..what is componentMixed type ??what is ref value and value fraction??? Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM Extend Project: Open source CFD | | \\ / O peration | Version: 1.6-ext | | \\ / A nd | Web: www.extend-project.de | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class tetPointVectorField; location "0"; object motionU; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { piston { type componentMixed; refValue uniform (0 0 0); valueFraction uniform (0 0 1); } liner { type componentMixed; refValue uniform (0 0 0); valueFraction uniform (1 1 0); } cylinderHead { type fixedValue; value uniform (0 0 0); } intakePort { type fixedValue; value uniform (0 0 0); } presin { type fixedValue; value uniform (0 0 0); } exhaustPort { type fixedValue; value uniform (0 0 0); } presout { type fixedValue; value uniform (0 0 0); } valveCurtainCyl1 { type componentMixed; refValue uniform (0 0 0); valueFraction uniform (1 1 0); } valve1 { type fixedValue; value uniform (0 0 0); } valve2 { type fixedValue; value uniform (0 0 0); } valveCurtainPort1 { type zeroGradient; } valveDetachCyl1 { type zeroGradient; } valveDetachPort1 { type zeroGradient; } valveCurtainCyl2 { type componentMixed; refValue uniform (0 0 0); valueFraction uniform (1 1 0); } valve3 { type fixedValue; value uniform (0 0 0); } valve4 { type fixedValue; value uniform (0 0 0); } valveCurtainPort2 { type zeroGradient; } valveDetachCyl2 { type zeroGradient; } valveDetachPort2 { type zeroGradient; } defaultFaces { type empty; } } // ************************************************************************* // Sasan. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 04:01 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 04:43 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 14:11 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 11:46 |