|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|
Passive Lagrangian particle tracking. More...

Public Member Functions | |
| procedure, pass(this) | init (this, json, case) |
| Build a mask of elastic wall facets from configured mesh zone ids. | |
| procedure, pass(this) | free (this) |
| Free all LPT-owned state and reset pointers/flags. | |
| procedure, pass(this) | preprocess (this, time) |
| Advance particle positions and, for inertial particles, velocities. | |
| procedure, pass(this) | compute (this, time) |
| Refresh particle/fluid coupling after the fluid step and emit output. | |
Public Attributes | |
| character(:), allocatable | name |
| LPT instance name. | |
| type(field_t), pointer | u_field => null() |
| type(field_t), pointer | v_field => null() |
| type(field_t), pointer | w_field => null() |
| type(field_t), pointer | mu_fluid => null() |
| type(field_t), pointer | rho_fluid => null() |
| type(mesh_t), pointer | msh => null() |
| type(dofmap_t), pointer | dm_xh => null() |
| type(coef_t), pointer | coef => null() |
| integer | time_order |
| integer | lag_len |
| integer | history_len = 0 |
| logical | inertia = .false. |
| real(kind=rp) | nonlinear_coefficient |
| real(kind=rp) | nonlinear_exponent |
| logical | elastic_wall_enabled = .false. |
| integer, dimension(:), allocatable | wall_zone_indices |
| logical, dimension(:, :), allocatable | wall_facet_mask |
| type(time_state_t) | lpt_time |
| logical | lpt_time_initialized = .false. |
| type(global_interpolation_t) | global_interp |
| type(lpt_periodic_bc_t) | periodic_bc |
| type(lpt_migrate_t) | migration |
| type(particles_t) | particles |
| type(lpt_output_t) | output |
| type(time_based_controller_t) | output_controller |
| logical | output_enabled = .false. |
| logical | log = .true. |
| real(kind=rp) | start_time = -huge(0.0_rp) |
Private Member Functions | |
| procedure, pass(this), private | read_particles_json (this, json) |
| Read particle data from JSON and initialise particles on rank 0. | |
| procedure, pass(this), private | read_particles_csv (this, json) |
| Read particle data from a CSV file and initialise particles on rank 0. | |
| procedure, pass(this), private | evaluate_velocity (this, u_fluid, v_fluid, w_fluid) |
| Interpolate the carrier velocity at the local particles. | |
| procedure, pass(this), private | evaluate_acceleration (this, acc_x, acc_y, acc_z, u_fluid, v_fluid, w_fluid) |
| Estimate particle acceleration from local carrier-fluid velocity. | |
| procedure, pass(this), private | sync_time_controller (this, time) |
| Build an LPT-local time-step history from the times at which LPT runs. | |
| procedure, pass(this), private | ode_integrate_ab_3c (this, sol_x, sol_y, sol_z, rhs_x, rhs_y, rhs_z, rhs_xlag, rhs_ylag, rhs_zlag, rhs_xlaglag, rhs_ylaglag, rhs_zlaglag, n) |
| Advance a three-component state with variable-step Adams-Bashforth. | |
| procedure, pass(this), private | update_current_rhs (this) |
| Refresh particle RHS values using the current fluid solution. | |
| procedure, pass(this), private | write_output (this, time) |
| Write one trajectory snapshot. | |
| procedure, pass(this), private | log_status (this) |
| Emit a setup summary for the configured LPT instance. | |
| procedure, pass(this) lpt::lpt_t::compute | ( | class(lpt_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time ) |
|
private |
| acc_x | Particle acceleration in x. |
| acc_y | Particle acceleration in y. |
| acc_z | Particle acceleration in z. |
| u_fluid | Interpolated x velocity at particle locations. |
| v_fluid | Interpolated y velocity at particle locations. |
| w_fluid | Interpolated z velocity at particle locations. |
| procedure, pass(this) lpt::lpt_t::free | ( | class(lpt_t), intent(inout) | this | ) |
|
private |
|
private |
| procedure, pass(this) lpt::lpt_t::preprocess | ( | class(lpt_t), intent(inout) | this, |
| type(time_state_t), intent(in) | time ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| type(global_interpolation_t) lpt::lpt_t::global_interp |
| type(time_state_t) lpt::lpt_t::lpt_time |
| type(lpt_migrate_t) lpt::lpt_t::migration |
| type(lpt_output_t) lpt::lpt_t::output |
| type(time_based_controller_t) lpt::lpt_t::output_controller |
| type(particles_t) lpt::lpt_t::particles |
| type(lpt_periodic_bc_t) lpt::lpt_t::periodic_bc |
| logical, dimension(:, :), allocatable lpt::lpt_t::wall_facet_mask |
| integer, dimension(:), allocatable lpt::lpt_t::wall_zone_indices |