/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:47
Definition Field.H:116
Definition Enstrophy.H:17
~Enstrophy() override
void write_ascii()
Output sampled data in ASCII format.
Definition Enstrophy.cpp:122
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:62
const Field & m_velocity
reference to velocity
Definition Enstrophy.H:60
amrex::Real calculate_enstrophy()
calculate the L2 norm of a given field and component
Definition Enstrophy.cpp:30
void post_regrid_actions() override
Definition Enstrophy.H:34
void prepare_ascii_file()
prepare ASCII file and directory
Definition Enstrophy.cpp:105
Enstrophy(CFDSim &, std::string)
Definition Enstrophy.cpp:12
void post_advance_work() override
Interpolate fields at a given timestep and output to disk.
Definition Enstrophy.cpp:90
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:74
int m_out_freq
Frequency of data sampling and output.
Definition Enstrophy.H:68
CFDSim & m_sim
Reference to the CFD sim.
Definition Enstrophy.H:50
amrex::Real m_total_enstrophy
store the total enstrophy
Definition Enstrophy.H:47
std::string m_out_fname
filename for ASCII output
Definition Enstrophy.H:65
Definition Enstrophy.cpp:10
Generated by 1.12.0