/home/runner/work/kynema-sgf/kynema-sgf/src/utilities/sampling/Enstrophy.H Source File
|
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Enstrophy.H
Go to the documentation of this file.
Definition CFDSim.H:55
Definition Field.H:112
const Field & m_density
reference to density
Definition Enstrophy.H:66
const Field & m_velocity
reference to velocity
Definition Enstrophy.H:64
void initialize() override
Read user inputs and create the different data probe instances.
Definition Enstrophy.cpp:24
void output_actions() override
Definition Enstrophy.cpp:91
void write_ascii()
Output sampled data in ASCII format.
Definition Enstrophy.cpp:115
amrex::Real m_total_enstrophy
store the total enstrophy
Definition Enstrophy.H:51
void pre_init_actions() override
Perform actions before mesh is created.
Definition Enstrophy.H:29
void post_regrid_actions() override
Definition Enstrophy.H:38
int m_precision
precision in ASCII output
Definition Enstrophy.H:75
Enstrophy(CFDSim &, std::string)
Definition Enstrophy.cpp:15
std::string m_out_fname
filename for ASCII output
Definition Enstrophy.H:69
~Enstrophy() override
static std::string identifier()
Definition Enstrophy.H:22
void post_advance_work() override
Definition Enstrophy.H:34
void prepare_ascii_file()
prepare ASCII file and directory
Definition Enstrophy.cpp:98
CFDSim & m_sim
Reference to the CFD sim.
Definition Enstrophy.H:54
amrex::Real calculate_enstrophy()
calculate the L2 norm of a given field and component
Definition Enstrophy.cpp:32
Definition Enstrophy.cpp:13
Generated by