/home/runner/work/amr-wind/amr-wind/amr-wind/overset/OversetOps.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/overset/OversetOps.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
OversetOps.H
Go to the documentation of this file.
1#ifndef OVERSETOPS_H
2#define OVERSETOPS_H
3
4#include "amr-wind/CFDSim.H"
6
7namespace amr_wind {
8
10{
11public:
12 OversetOps() = default;
13
14 void initialize(CFDSim& sim);
15 void pre_advance_work();
16 void post_advance_work();
17
18 void update_gradp();
19
20private:
21 // Functions called within public functions
22 void parameter_output() const;
23 void sharpen_nalu_data();
26
27 // Check for multiphase sim
28 bool m_vof_exists{false};
29
30 // Coupling options
32
33 // Verbosity
34 int m_verbose{0};
35
36 // Reinitialization parameters
38 int m_calc_convg_interval{1}; // calctolniter, cconv
39 amrex::Real m_convg_tol = 1e-12;
40 amrex::Real m_relative_length_scale = 1.5;
41 amrex::Real m_upw_margin = 0.1;
42 amrex::Real m_target_cutoff = 0.0; // proc_tgvof_tol
43
44 // Tolerance for VOF-related bound checks
45 const amrex::Real m_vof_tol = 1e-12;
46 // Small number for approximate signed distance function
47 const amrex::Real m_asdf_tiny = 1e-12;
48
49 // Pointer for pressure gradient copy field
51 // Pointer for MultiPhase physics
53
55};
56
57} // namespace amr_wind
58
59#endif /* OVERSETOPS_H */
Definition CFDSim.H:47
Definition Field.H:116
Definition MultiPhase.H:27
Definition OversetOps.H:10
amr_wind::Field * m_gp_copy
Definition OversetOps.H:50
void sharpen_nalu_data()
Definition OversetOps.cpp:202
bool m_replace_gradp_postsolve
Definition OversetOps.H:31
int m_calc_convg_interval
Definition OversetOps.H:38
void initialize(CFDSim &sim)
Definition OversetOps.cpp:14
const amrex::Real m_asdf_tiny
Definition OversetOps.H:47
amrex::Real m_relative_length_scale
Definition OversetOps.H:40
void parameter_output() const
Definition OversetOps.cpp:170
void update_gradp()
Definition OversetOps.cpp:101
CFDSim * m_sim_ptr
Definition OversetOps.H:54
const amrex::Real m_vof_tol
Definition OversetOps.H:45
amrex::Real m_upw_margin
Definition OversetOps.H:41
amrex::Real m_target_cutoff
Definition OversetOps.H:42
amrex::Real m_convg_tol
Definition OversetOps.H:39
void pre_advance_work()
Definition OversetOps.cpp:57
bool m_vof_exists
Definition OversetOps.H:28
int m_verbose
Definition OversetOps.H:34
int m_n_iterations
Definition OversetOps.H:37
void post_advance_work()
Definition OversetOps.cpp:158
void replace_masked_gradp()
Definition OversetOps.cpp:404
amr_wind::MultiPhase * m_mphase
Definition OversetOps.H:52
void form_perturb_pressure()
Definition OversetOps.cpp:394
Definition BCInterface.cpp:7