/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:302
amrex::Vector< amrex::Real > compute_error(const Shape &scalar_function)
Definition ScalarAdvection.cpp:235
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:176
void initialize_fields(int level, const amrex::Geometry &geom) override
Initialize the fields for ScalarAdvection simulations.
Definition ScalarAdvection.cpp:154
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:201
~ScalarAdvection() override=default
ScalarAdvection(CFDSim &sim)
Definition ScalarAdvection.cpp:124
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_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:8
Definition ScalarAdvection.H:138
AMREX_GPU_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:80
Definition ScalarAdvection.H:80
AMREX_GPU_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:109
Definition ScalarAdvection.H:122
AMREX_GPU_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:57
Definition ScalarAdvection.H:106
AMREX_GPU_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:32
Generated by 1.12.0