coolantPressureFvPatchVectorField
Description
The coolantPressure boundary condition is used to apply the coolant pressure
(fixed or time-dependent) to a patch. It is a simplified re-implementation of
the tractionDisplacement boundary condition, allowing the user to work
directly with the coolant pressure instead of specifying both traction and
pressure values.
Note
This BC inherits from the parten class tractionDisplacement the possibility
of activating a plane strain approximation as well as a spring-dashpot system.
Options
The coolantPressure fvPatchField can be selected in the patch subdictionary
inside the boundaryField subdictionary of the displacement field.
Parameters in the patch subdictionary for coolantPressure:
| coolantPressureList | A time-dependent pressure table. Each entry consists of a time step (using the time unit defined in solverDict) followed by the pressure value in Pa. |
| coolantPressure | Fixed pressure in Pa. Used only if coolantPressureList is not provided. |
| planeStrain | Activates the plane strain approximation for the normal stress at the boundary. When enabled, the normal strain is assumed constant across the last layer of cells. Default: false. |
| fixedSpring | Activates a fixed spring-dashpot system for additional stability. Default: false. |
| fixedSpringModulus | Spring modulus in N/m. Required when fixedSpring is set to true. |
| dashpotModulus | Dashpot modulus in N/m. Required when fixedSpring is set to true. |
| relax | Relaxation factor for gradient updates. Default: 1.0. |
| value | Initial displacement value (not stress). |
Usage
To apply the coolantPressure boundary condition to a given patch, you need
to specify its typename in the patch definition in the boundary condition file
(e.g., 0/D or 0/DD for simulations involving incremental mechanical
solvers).
Example: Applying coolantPressure to the cladOuter patch:
cladOuter
{
type coolantPressure;
// Fixed pressure in case the coolantPressureList is not provided
// coolantPressure 1e5;
coolantPressureList
{
type table;
// Use "file" or directly provide "values"
file "$FOAM_CASE/constant/lists/coolantPressureList";
// Optional: values can be provided directly
// values
// (
// (0.0 1e5)
// (100.0 1e6)
// );
format foam; // Optional data format
outOfBounds clamp; // Optional handling for out-of-bounds values
interpolationScheme linear; // Optional interpolation method
}
// Activate plane strain approximation (default is false)
planeStrain false;
// Relaxation factor
relax 1.0;
// Initial displacement value
value $internalField;
}