This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/incompressible/porousSimpleFoam/beaverJoseph/0/U

51 lines
1.7 KiB
Text
Raw Normal View History

Incompressible Variants of the two new porous tutorials 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
2010-11-01 15:51:36 +00:00
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
2013-12-11 16:09:41 +00:00
| \\ / F ield | foam-extend: Open Source CFD |
2014-06-01 11:15:18 +00:00
| \\ / O peration | Version: 3.1 |
2013-12-11 16:09:41 +00:00
| \\ / A nd | Web: http://www.extend-project.de |
Incompressible Variants of the two new porous tutorials 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
2010-11-01 15:51:36 +00:00
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
2010-11-24 20:48:09 +00:00
version 2.0;
format ascii;
class volVectorField;
object U;
Incompressible Variants of the two new porous tutorials 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
2010-11-01 15:51:36 +00:00
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
2010-11-24 20:48:09 +00:00
// Re = 1 = rho=(rho U H)/mu; rho=1.144, mu=1.861e-5; H=0.01
Incompressible Variants of the two new porous tutorials 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
2010-11-01 15:51:36 +00:00
internalField uniform (1.62589e-4 0 0);
boundaryField
{
inlet
{
// type groovyBC;
type fixedValue;
variables "relax=0.7;UTarget=1.62589e-4;Uout@outlet=sum((pos().y) > 0.1 ? mag(U)*mag(Sf()) : 0.)/sum(pos().y > 0.1 ? mag(Sf()) : 0);Uold=mag(U);Uo=(Uout>1e-7 ? Uout : 1e-7);Unew=Uold*((1-relax)+relax*(UTarget/Uo));Unew2=(Unew > UTarget ? UTarget : Unew);";
valueExpression "vector(1,0,0)*Unew2";
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
upperWall
{
type fixedValue;
value uniform (0 0 0);
}
lowerWall
{
type fixedValue;
value uniform (0 0 0);
}
}
// ************************************************************************* //