Functions/Subroutines
module_navier_stokes Module Reference

Functions/Subroutines

subroutine drive
 
subroutine time_advancement_fd
 
subroutine time_advancement_sp
 
subroutine assign_abc (aa_in, bb_in, cc_in, aa, bb, cc)
 
subroutine assign_abc_p (aa_in, bb_in, cc_in, aa, bb, cc)
 
subroutine assign_fgh_old (ff, gg, hh, ff0, gg0, hh0)
 
subroutine assign_s_old (ss, ss0)
 
subroutine calculate_uvw (u, v, w, phi)
 
subroutine calculate_new_p (phi, p)
 

Function/Subroutine Documentation

◆ drive()

subroutine module_navier_stokes::drive ( )

Definition at line 32 of file module_navier_stokes.f90.

References module_variables::aa_p, module_variables::aa_t, module_variables::aa_u, module_variables::aa_w, module_variables::bb_p, module_variables::bb_t, module_variables::bb_u, module_variables::bb_w, module_variables::c_ff, module_variables::c_gg, module_variables::c_hh, module_variables::c_p, module_variables::c_ss, module_variables::c_t, module_variables::c_u, module_variables::c_v, module_variables::c_w, module_parameters::calculate_ubar(), module_variables::cc_p, module_variables::cc_t, module_variables::cc_u, module_variables::cc_w, module_parameters::cds, module_spectral::cmplx_2_real(), module_parameters::dp_opt, module_variables::ff, module_parameters::fft_plan1, module_parameters::fft_plan2, module_parameters::get_fft_plan(), module_parameters::get_mesh_param(), module_poisson_solver::get_p_eqn_coeff(), module_poisson_solver::get_t_eqn_coeff(), module_poisson_solver::get_u_eqn_coeff(), module_poisson_solver::get_w_eqn_coeff(), module_variables::gg, module_variables::hh, module_parameters::ibackup, module_parameters::ifft_plan1, module_parameters::ifft_plan2, module_parameters::iinstfl, module_parameters::imax, module_parameters::imeanfl, module_tools::initiate_fields(), module_parameters::intv_2d, module_parameters::is_ri_var, module_parameters::istmsr, module_parameters::isxy2d, module_parameters::isxz2d, module_parameters::isyz2d, module_variables::mean_t, module_variables::mean_tt, module_variables::mean_tw, module_variables::mean_u, module_variables::mean_uu, module_variables::mean_uw, module_variables::mean_v, module_variables::mean_vv, module_variables::mean_vw, module_variables::mean_w, module_variables::mean_ww, module_parameters::myid, module_parameters::myid_colindx, module_parameters::myid_rowindx, module_io::output_2d_slices(), module_io::output_backup(), module_io::output_inst_fields(), module_io::output_mean_fields(), module_io::output_time_series(), module_variables::p, module_parameters::p_col, module_parameters::p_row, module_spectral::real_2_cmplx(), module_io::screen_cpu_time(), module_spectral::spectral_truncation(), module_variables::ss, module_variables::t, time_advancement_fd(), time_advancement_sp(), module_variables::u, module_boundary::update_boundary_p(), module_boundary::update_boundary_t(), module_boundary::update_boundary_uvw(), module_parameters::update_ri(), module_variables::v, and module_variables::w.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ time_advancement_fd()

subroutine module_navier_stokes::time_advancement_fd ( )

Definition at line 224 of file module_navier_stokes.f90.

References module_variables::aa, module_variables::aa_p, module_variables::aa_t, module_variables::aa_u, module_variables::aa_w, assign_abc(), assign_abc_p(), assign_fgh_old(), module_parameters::assign_rk_coeff(), assign_s_old(), module_variables::bb, module_variables::bb_p, module_variables::bb_t, module_variables::bb_u, module_variables::bb_w, module_tools::calculate_mean_fields(), calculate_new_p(), calculate_uvw(), module_variables::cc, module_variables::cc_p, module_variables::cc_t, module_variables::cc_u, module_variables::cc_w, module_parameters::dts, module_variables::ff, module_variables::ff0, module_tools::get_interp_fields_thxyz(), module_tools::get_interp_fields_uvwhxyz(), module_cnvdiff::get_momentum_cnvdiff(), module_poisson_solver::get_p_eqn_src(), module_cnvdiff::get_temperature_cnvdiff(), module_variables::gg, module_variables::gg0, module_variables::hh, module_variables::hh0, module_parameters::isdamp, module_parameters::isscalar, module_variables::mean_t, module_variables::mean_tt, module_variables::mean_tw, module_variables::mean_u, module_variables::mean_uu, module_variables::mean_uw, module_variables::mean_v, module_variables::mean_vv, module_variables::mean_vw, module_variables::mean_w, module_variables::mean_ww, module_parameters::myid, module_variables::p, module_variables::phi, module_poisson_solver::poisson_solver_fft(), module_variables::qu, module_variables::qv, module_variables::qw, module_tools::rayleigh_damping(), module_parameters::rkc1, module_parameters::rkc2, module_parameters::rkc3, module_io::screen_div_error(), module_variables::ss, module_variables::ss0, module_variables::t, module_variables::thx, module_variables::thy, module_variables::thz, module_variables::u, module_variables::uhx, module_variables::uhy, module_variables::uhz, module_boundary::update_boundary_p(), module_boundary::update_boundary_t(), module_boundary::update_boundary_thxyz(), module_boundary::update_boundary_uvw(), module_boundary::update_boundary_uvwhxyz(), module_variables::v, module_variables::vhx, module_variables::vhy, module_variables::vhz, module_variables::w, module_variables::whx, and module_variables::why.

Referenced by drive().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ time_advancement_sp()

subroutine module_navier_stokes::time_advancement_sp ( )

Definition at line 372 of file module_navier_stokes.f90.

References module_variables::aa, module_variables::aa_p, module_variables::aa_t, module_variables::aa_u, module_variables::aa_w, assign_abc(), assign_abc_p(), module_parameters::assign_rk_coeff(), module_variables::bb, module_variables::bb_p, module_variables::bb_t, module_variables::bb_u, module_variables::bb_w, module_variables::c_ff, module_variables::c_gg, module_variables::c_hh, module_variables::c_p, module_variables::c_phi, module_variables::c_qu, module_variables::c_qv, module_variables::c_qw, module_variables::c_ss, module_variables::c_t, module_variables::c_u, module_variables::c_v, module_variables::c_w, module_spectral::calculate_mean_fields_spec(), module_spectral::calculate_new_p_spec(), module_spectral::calculate_uvw_spec(), module_variables::cc, module_variables::cc_p, module_variables::cc_t, module_variables::cc_u, module_variables::cc_w, module_spectral::cmplx_2_real(), module_parameters::dt, module_parameters::dts, module_spectral::get_div_spec(), module_spectral::get_momentum_cnvdiff_spec(), module_spectral::get_temperature_cnvdiff_spec(), module_parameters::isdamp, module_parameters::isscalar, module_variables::mean_t, module_variables::mean_tt, module_variables::mean_tw, module_variables::mean_u, module_variables::mean_uu, module_variables::mean_uw, module_variables::mean_v, module_variables::mean_vv, module_variables::mean_vw, module_variables::mean_w, module_variables::mean_ww, module_parameters::myid, module_variables::p, module_variables::phi, module_spectral::poisson_solver_fft_spec(), module_spectral::rayleigh_damping_spec(), module_parameters::rkc1, module_parameters::rkc2, module_parameters::rkc3, module_spectral::screen_div_error_spec(), module_spectral::spectral_truncation(), module_variables::t, module_variables::u, module_boundary::update_boundary_p(), module_boundary::update_boundary_t(), module_boundary::update_boundary_uvw(), module_variables::v, and module_variables::w.

Referenced by drive().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assign_abc()

subroutine module_navier_stokes::assign_abc ( real(mytype), dimension(:), intent(in)  aa_in,
complex(mytype), dimension(:,:,:), intent(in)  bb_in,
real(mytype), dimension(:), intent(in)  cc_in,
real(mytype), dimension(:,:,:), intent(out)  aa,
complex(mytype), dimension(:,:,:), intent(out)  bb,
real(mytype), dimension(:,:,:), intent(out)  cc 
)

Definition at line 524 of file module_navier_stokes.f90.

References module_parameters::dts, module_parameters::ghst, and module_parameters::rk_c.

Referenced by time_advancement_fd(), and time_advancement_sp().

Here is the caller graph for this function:

◆ assign_abc_p()

subroutine module_navier_stokes::assign_abc_p ( real(mytype), dimension(:), intent(in)  aa_in,
complex(mytype), dimension(:,:,:), intent(in)  bb_in,
real(mytype), dimension(:), intent(in)  cc_in,
real(mytype), dimension(:,:,:), intent(out)  aa,
complex(mytype), dimension(:,:,:), intent(out)  bb,
real(mytype), dimension(:,:,:), intent(out)  cc 
)

Definition at line 579 of file module_navier_stokes.f90.

References module_parameters::dts, module_parameters::ghst, and module_parameters::rk_c.

Referenced by time_advancement_fd(), and time_advancement_sp().

Here is the caller graph for this function:

◆ assign_fgh_old()

subroutine module_navier_stokes::assign_fgh_old ( real(mytype), dimension(:,:,:), intent(in)  ff,
real(mytype), dimension(:,:,:), intent(in)  gg,
real(mytype), dimension(:,:,:), intent(in)  hh,
real(mytype), dimension(:,:,:), intent(inout)  ff0,
real(mytype), dimension(:,:,:), intent(inout)  gg0,
real(mytype), dimension(:,:,:), intent(inout)  hh0 
)

Definition at line 625 of file module_navier_stokes.f90.

Referenced by time_advancement_fd().

Here is the caller graph for this function:

◆ assign_s_old()

subroutine module_navier_stokes::assign_s_old ( real(mytype), dimension(:,:,:), intent(in)  ss,
real(mytype), dimension(:,:,:), intent(out)  ss0 
)

Definition at line 644 of file module_navier_stokes.f90.

Referenced by time_advancement_fd().

Here is the caller graph for this function:

◆ calculate_uvw()

subroutine module_navier_stokes::calculate_uvw ( real(mytype), dimension(:,:,:), intent(inout)  u,
real(mytype), dimension(:,:,:), intent(inout)  v,
real(mytype), dimension(:,:,:), intent(inout)  w,
real(mytype), dimension(:,:,:), intent(in)  phi 
)

◆ calculate_new_p()

subroutine module_navier_stokes::calculate_new_p ( real(mytype), dimension(:,:,:), intent(in)  phi,
real(mytype), dimension(:,:,:), intent(out)  p 
)