|
[Sponsors] |
Cyclic (mappedPatch) with LTSInterFoam in a closed channel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2015, 10:19 |
Cyclic (mappedPatch) with LTSInterFoam in a closed channel
|
#1 |
Member
Join Date: May 2014
Posts: 40
Rep Power: 11 |
Hi Foamers,
I'm trying to run a case of a 2D closed horizontal channel with an high velocity air stream on top of resting (or slow flowing) water mit the LTSInterFoam solver and OF231. In order to obtain fully developed velocity profiles, cyclic (mappedPatch) boundary conditions are applied at the inlet. The mesh is divided in an upper and lower section, so there are two inlets and two outlets for the air and water respectively. The internal fields of the air and water are initialized with different velocities via setFields. Gravity is neglected. The simulation is running, but from the lower left corner high pressures and velocities are emerging. I think the BC's might be set incorrectly. I'd be very grateful if someone could give me some advice Inlets defined in blockMeshDict: Code:
boundary ( inletAir { type mappedPatch; offset ( 0.1 0 0 ); sampleMode nearestPatchFace; samplePatch outletAir; faces ( ( IDB1 IDF1 IDF2 IDB2 ) ( IDB2 IDF2 ICF2 ICB2 ) ( ICB2 ICF2 IUF2 IUB2 ) ); } inletWater { type mappedPatch; offset ( 0.1 0 0 ); sampleMode nearestPatchFace; samplePatch outletWater; faces ( ( CB0 CF0 IDF1 IDB1 ) ); } Code:
internalField uniform (0.25 0 0); boundaryField { inletAir { type mapped; value uniform (0.25 0 0); interpolationScheme cell; setAverage true; average (0.25 0 0); } inletWater { type mapped; value uniform (0.001 0 0); interpolationScheme cell; setAverage false; average (0.001 0 0); } outletAir { type zeroGradient; } outletWater { type zeroGradient; } topWall { type fixedValue; value uniform (0 0 0); } bottomWall { type fixedValue; value uniform (0 0 0); } frontAndBack { type empty; } } Code:
internalField uniform 0; boundaryField { inletAir { type zeroGradient; } inletWater { type zeroGradient; } outletAir { type zeroGradient; } outletWater { type zeroGradient; } topWall { type zeroGradient; } bottomWall { type zeroGradient; } frontAndBack { type empty; } } Code:
internalField uniform 0; boundaryField { inletAir { type mapped; value uniform 0; interpolationScheme cell; setAverage false; average 0; } inletWater { type mapped; value uniform 1; interpolationScheme cell; setAverage false; average 1; } outletAir { type inletOutlet; inletValue uniform 0; value uniform 0; } outletWater { type inletOutlet; inletValue uniform 1; value uniform 1; } topWall { type zeroGradient; } bottomWall { type zeroGradient; } frontAndBack { type empty; } } Best regards Philip |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Unstructured Mesh / cyclic channel | Metternich | ANSYS Meshing & Geometry | 0 | October 9, 2014 11:38 |
Possible createPatch/createBaffles bug? | simpomann | OpenFOAM Bugs | 2 | July 15, 2014 08:07 |
mappedPatch with channel flow | ArathoN | OpenFOAM Running, Solving & CFD | 57 | June 16, 2014 05:23 |
fully developed channel with cyclic using simplefoam | ArathoN | OpenFOAM Running, Solving & CFD | 4 | February 21, 2014 10:53 |
Cyclic boundary conditions concerning channel with constant flow rate | pascool | OpenFOAM Pre-Processing | 1 | November 16, 2012 14:04 |