Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
initial_conditions Module Reference

Functions/Subroutines

subroutine scalar_z_split_ic (s, params)
 Set the initial condition for the scalar field.
 

Function/Subroutine Documentation

◆ scalar_z_split_ic()

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.

Parameters
[in,out]sScalar field
[in,out]paramsJSON file

Definition at line 19 of file initial_conditions.f90.

Here is the caller graph for this function: