openfoam/tutorials/electromagnetics/mhdFoam/hartmann/0/B
2015-12-22 23:14:17 +00:00

52 lines
1.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: plus |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object B;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 0 -2 0 0 -1 0];
internalField uniform (0 20 0);
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
lowerWall
{
type fixedValue;
value uniform (0 20 0);
}
upperWall
{
type fixedValue;
value uniform (0 20 0);
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //