Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Functions/Subroutines | |
subroutine | scalar_z_split_ic (s, params) |
Set the initial condition for the scalar field. | |
subroutine initial_conditions::scalar_z_split_ic | ( | type(field_t), intent(inout) | s, |
type(json_file), intent(inout) | params | ||
) |
This function will initialize the scalar field with a two part uniform value. Above z=z0 the scalar field will be 0.0 and below z=z0 the scalar field will be 1.0. z0 is read from the JSON file under the key 'case.scalar.initial_condition.value' or set to 0.0 if not found.
[in,out] | s | Scalar field |
[in,out] | params | JSON file |
Definition at line 19 of file initial_conditions.f90.