/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:113
void pre_init_actions() override
Perform actions before mesh is created.
Definition Enstrophy.H:26
const Field & m_density
reference to density
Definition Enstrophy.H:63
const Field & m_velocity
reference to velocity
Definition Enstrophy.H:61
amrex::Real calculate_enstrophy()
calculate the L2 norm of a given field and component
Definition Enstrophy.cpp:29
void post_regrid_actions() override
Definition Enstrophy.H:35
void output_actions() override
Definition Enstrophy.cpp:89
void prepare_ascii_file()
prepare ASCII file and directory
Definition Enstrophy.cpp:96
Enstrophy(CFDSim &, std::string)
Definition Enstrophy.cpp:12
void post_advance_work() override
Definition Enstrophy.H:31
void initialize() override
Read user inputs and create the different data probe instances.
Definition Enstrophy.cpp:21
int m_precision
precision in ASCII output
Definition Enstrophy.H:72
CFDSim & m_sim
Reference to the CFD sim.
Definition Enstrophy.H:51
amrex::Real m_total_enstrophy
store the total enstrophy
Definition Enstrophy.H:48
std::string m_out_fname
filename for ASCII output
Definition Enstrophy.H:66
Definition Enstrophy.cpp:10
Generated by