499351f6d9
Not correctly compensated for the different density (or the lack of it) --HG-- branch : porousLagrangianBranch rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/0/T => tutorials/incompressible/porousSimpleFoam/beaverJoseph/0/T rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/0/U => tutorials/incompressible/porousSimpleFoam/beaverJoseph/0/U rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/0/p => tutorials/incompressible/porousSimpleFoam/beaverJoseph/0/p rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/RASProperties => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/RASProperties rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/polyMesh/blockMeshDict => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/polyMesh/blockMeshDict rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/polyMesh/boundary => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/polyMesh/boundary rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/porousZones => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/porousZones rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/constant/thermophysicalProperties => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/thermophysicalProperties rename : tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/transportProperties => tutorials/incompressible/porousSimpleFoam/beaverJoseph/constant/transportProperties rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/system/controlDict => tutorials/incompressible/porousSimpleFoam/beaverJoseph/system/controlDict rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/system/fvSchemes => tutorials/incompressible/porousSimpleFoam/beaverJoseph/system/fvSchemes rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/system/fvSolution => tutorials/incompressible/porousSimpleFoam/beaverJoseph/system/fvSolution rename : tutorials/compressible/rhoPorousSimpleFoam/beaverJoseph/system/sampleDict => tutorials/incompressible/porousSimpleFoam/beaverJoseph/system/sampleDict rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/0/T => tutorials/incompressible/porousSimpleFoam/porousPlug/0/T rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/0/U => tutorials/incompressible/porousSimpleFoam/porousPlug/0/U rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/0/p => tutorials/incompressible/porousSimpleFoam/porousPlug/0/p rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/constant/RASProperties => tutorials/incompressible/porousSimpleFoam/porousPlug/constant/RASProperties rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/constant/polyMesh/blockMeshDict => tutorials/incompressible/porousSimpleFoam/porousPlug/constant/polyMesh/blockMeshDict rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/constant/polyMesh/boundary => tutorials/incompressible/porousSimpleFoam/porousPlug/constant/polyMesh/boundary rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/constant/porousZones => tutorials/incompressible/porousSimpleFoam/porousPlug/constant/porousZones rename : tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/constant/transportProperties => tutorials/incompressible/porousSimpleFoam/porousPlug/constant/transportProperties rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/system/controlDict => tutorials/incompressible/porousSimpleFoam/porousPlug/system/controlDict rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/system/fvSchemes => tutorials/incompressible/porousSimpleFoam/porousPlug/system/fvSchemes rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/system/fvSolution => tutorials/incompressible/porousSimpleFoam/porousPlug/system/fvSolution rename : tutorials/compressible/rhoPorousSimpleFoam/porousPlug/system/sampleDict => tutorials/incompressible/porousSimpleFoam/porousPlug/system/sampleDict
57 lines
1.6 KiB
C++
57 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.4.1 |
|
|
| \\ / A nd | Web: http://www.openfoam.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
|
|
root "/home2/mnordlun/OpenFOAM/mnordlun-1.4.1/run/pmiCases";
|
|
case "SMAR_MD2_Puffing";
|
|
instance "0";
|
|
local "";
|
|
|
|
class volVectorField;
|
|
object U;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
// Re = 1 = rho=(rho U H)/mu; rho=1.144, mu=1.861e-5; H=0.01
|
|
internalField uniform (1.62589e-4 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
// type groovyBC;
|
|
type fixedValue;
|
|
variables "UTarget=1.62589e-4;yMax=max(pts().y);";
|
|
valueExpression "vector(1,0,0)*6*UTarget*pos().y/yMax*(1-pos().y/yMax)";
|
|
value $internalField;
|
|
}
|
|
outlet
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
upperWall
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
lowerWall
|
|
{
|
|
type fixedValue;
|
|
value uniform (0 0 0);
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|