/home/runner/work/amr-wind/amr-wind/amr-wind/physics/ScalarAdvection.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
ScalarAdvection.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
Definition FieldRepo.H:86
Definition ScalarAdvection.H:16
void post_advance_work() override
Definition ScalarAdvection.cpp:304
amrex::Vector< amrex::Real > compute_error(const Shape &scalar_function)
Definition ScalarAdvection.cpp:237
void pre_advance_work() override
Definition ScalarAdvection.H:34
void post_regrid_actions() override
Definition ScalarAdvection.H:32
amrex::Real m_x0
Initial wave/pulse packet location.
Definition ScalarAdvection.H:57
amrex::Real m_x_wavenumber
Wave numbers.
Definition ScalarAdvection.H:69
void post_init_actions() override
Definition ScalarAdvection.cpp:178
void initialize_fields(int level, const amrex::Geometry &geom) override
Initialize the fields for ScalarAdvection simulations.
Definition ScalarAdvection.cpp:156
amrex::Real m_amplitude
Initial wave/pulse amplitude.
Definition ScalarAdvection.H:61
std::string m_shape
Initial wave/pulse shape.
Definition ScalarAdvection.H:73
amrex::Real m_u
Flow velocity in x-direction.
Definition ScalarAdvection.H:53
void initialize_scalar(const Shape &scalar_function)
Definition ScalarAdvection.cpp:203
~ScalarAdvection() override=default
ScalarAdvection(CFDSim &sim)
Definition ScalarAdvection.cpp:126
Definition SimTime.H:30
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr amrex::Real pi()
Return as an amrex::Real.
Definition trig_ops.H:16
Definition BCInterface.cpp:7
Definition ScalarAdvection.H:90
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real) const
Definition ScalarAdvection.cpp:9
Definition ScalarAdvection.H:138
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real) const
Definition ScalarAdvection.cpp:81
Definition ScalarAdvection.H:80
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real) const
Definition ScalarAdvection.cpp:111
Definition ScalarAdvection.H:122
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real) const
Definition ScalarAdvection.cpp:58
Definition ScalarAdvection.H:106
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real operator()(const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real, const amrex::Real) const
Definition ScalarAdvection.cpp:33
Generated by 1.12.0