35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2312 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object setExprBoundaryFieldsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
pattern
|
|
{
|
|
field T;
|
|
|
|
expressions
|
|
(
|
|
{
|
|
patch bottom;
|
|
target theta0;
|
|
expression #{ (pos().x() < 1e-4 ? 60 : 120) #};
|
|
}
|
|
);
|
|
|
|
keepPatches true;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|