ENH: OpenCFD: naming regions

This commit is contained in:
mattijs
2014-01-28 10:13:05 +00:00
parent 8b85cb04f6
commit 340accf46d
4 changed files with 43 additions and 15 deletions

View File

@ -20,28 +20,28 @@ internalField uniform 1;
boundaryField boundaryField
{ {
box_inlet inlet
{ {
type fixedValue; type fixedValue;
value uniform 1; value uniform 1;
} }
box_outlet outlet
{ {
type zeroGradient; type zeroGradient;
} }
box_bottom bottom
{ {
type zeroGradient; type zeroGradient;
} }
box_top top
{ {
type zeroGradient; type zeroGradient;
} }
letters_text letters
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -20,18 +20,18 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
box_inlet inlet
{ {
type fixedValue; type fixedValue;
value uniform (3 0 0); value uniform (3 0 0);
} }
box_outlet outlet
{ {
type zeroGradient; type zeroGradient;
} }
box_bottom bottom
{ {
type supersonicFreestream; type supersonicFreestream;
UInf (3 0 0); UInf (3 0 0);
@ -40,7 +40,7 @@ boundaryField
gamma 1.4; gamma 1.4;
} }
box_top top
{ {
type supersonicFreestream; type supersonicFreestream;
UInf (3 0 0); UInf (3 0 0);
@ -49,7 +49,7 @@ boundaryField
gamma 1.4; gamma 1.4;
} }
letters_text letters
{ {
type fixedValue; type fixedValue;
value uniform (0 0 0); value uniform (0 0 0);

View File

@ -20,28 +20,28 @@ internalField uniform 1;
boundaryField boundaryField
{ {
box_inlet inlet
{ {
type fixedValue; type fixedValue;
value uniform 1; value uniform 1;
} }
box_outlet outlet
{ {
type zeroGradient; type zeroGradient;
} }
box_bottom bottom
{ {
type zeroGradient; type zeroGradient;
} }
box_top top
{ {
type zeroGradient; type zeroGradient;
} }
letters_text letters
{ {
type zeroGradient; type zeroGradient;
} }

View File

@ -27,6 +27,34 @@ geometry
{ {
name box; name box;
type closedTriSurfaceMesh; type closedTriSurfaceMesh;
regions
{
back
{
name back;
}
front
{
name front;
}
bottom
{
name bottom;
}
top
{
name top;
}
inlet
{
name inlet;
}
outlet
{
name outlet;
}
}
} }
} }