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
{
box_inlet
inlet
{
type fixedValue;
value uniform 1;
}
box_outlet
outlet
{
type zeroGradient;
}
box_bottom
bottom
{
type zeroGradient;
}
box_top
top
{
type zeroGradient;
}
letters_text
letters
{
type zeroGradient;
}

View File

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

View File

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

View File

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