/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/sampling/Enstrophy.H Source File
|
AMR-Wind 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:54
Definition Field.H:116
~Enstrophy() override
void write_ascii()
Output sampled data in ASCII format.
Definition Enstrophy.cpp:116
void pre_init_actions() override
Perform actions before mesh is created.
Definition Enstrophy.H:29
const Field & m_density
reference to density
Definition Enstrophy.H:66
const Field & m_velocity
reference to velocity
Definition Enstrophy.H:64
amrex::Real calculate_enstrophy()
calculate the L2 norm of a given field and component
Definition Enstrophy.cpp:32
void post_regrid_actions() override
Definition Enstrophy.H:38
void output_actions() override
Definition Enstrophy.cpp:92
void prepare_ascii_file()
prepare ASCII file and directory
Definition Enstrophy.cpp:99
Enstrophy(CFDSim &, std::string)
Definition Enstrophy.cpp:15
void post_advance_work() override
Definition Enstrophy.H:34
void initialize() override
Read user inputs and create the different data probe instances.
Definition Enstrophy.cpp:24
int m_precision
precision in ASCII output
Definition Enstrophy.H:75
CFDSim & m_sim
Reference to the CFD sim.
Definition Enstrophy.H:54
amrex::Real m_total_enstrophy
store the total enstrophy
Definition Enstrophy.H:51
std::string m_out_fname
filename for ASCII output
Definition Enstrophy.H:69
Definition Enstrophy.cpp:13
Generated by