Modular version of the Classic Nek5000 Pn/Pn formulation for fluids.
|
| subroutine | fluid_pnpn_init (this, msh, lx, params, user, chkp) |
| |
| subroutine | fluid_pnpn_ax_vel_factory (this) |
| | Allocate and configure the Helmholtz matrix-vector product for the velocity, thisAx_vel.
|
| |
| subroutine | fluid_pnpn_restart (this, chkp) |
| |
| subroutine | fluid_pnpn_free (this) |
| |
| subroutine | fluid_pnpn_step (this, time, dt_controller) |
| | Advance fluid simulation in time.
|
| |
| subroutine | fluid_pnpn_setup_bcs (this, user, params) |
| | Sets up the boundary conditions for the scheme.
|
| |
| subroutine | fluid_pnpn_write_boundary_conditions (this) |
| | Write a field with boundary condition specifications.
|
| |
◆ fluid_pnpn_ax_vel_factory()
◆ fluid_pnpn_free()
◆ fluid_pnpn_init()
| subroutine fluid_pnpn::fluid_pnpn_init |
( |
class(fluid_pnpn_t), intent(inout), target |
this, |
|
|
type(mesh_t), intent(inout), target |
msh, |
|
|
integer, intent(in) |
lx, |
|
|
type(json_file), intent(inout), target |
params, |
|
|
type(user_t), intent(in), target |
user, |
|
|
type(chkp_t), intent(inout), target |
chkp |
|
) |
| |
|
private |
Set the number of schwarz iterations to perform each time step.
Definition at line 346 of file fluid_pnpn.f90.
◆ fluid_pnpn_restart()
◆ fluid_pnpn_setup_bcs()
Each entry of case.fluid.boundary_conditions is split into a velocity part and a pressure part by fluid_pnpn_bc_split. The parts are passed to velocity_bc_factory and pressure_bc_factory, and the resulting objects are appended to bcs_vel and bcs_prs and marked in the residual projectors. The facet_type array of the mesh, used by the FDM preconditioner, is set to 1 on the zones of an entry with a Dirichlet pressure condition and to 2 otherwise.
- Parameters
-
| user | The user interface. |
| params | The case file parameters. |
Definition at line 1126 of file fluid_pnpn.f90.
◆ fluid_pnpn_step()
- Parameters
-
| t | The time value. |
| tstep | The current interation. |
| dt | The timestep |
| ext_bdf | Time integration logic. |
| dt_controller | timestep controller |
adds div.(u_i*wm) to RHS
Definition at line 820 of file fluid_pnpn.f90.
◆ fluid_pnpn_write_boundary_conditions()
◆ fluid_pnpn_pressure_bc_registry
◆ fluid_pnpn_pressure_bc_registry_size
◆ fluid_pnpn_velocity_bc_registry
◆ fluid_pnpn_velocity_bc_registry_size