/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/tke/tke_ops.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
tke_ops.H
Go to the documentation of this file.
61 amrex::Real m_clip_value{1.0e-8};
Definition CFDSim.H:47
Definition Field.H:116
FieldRepo & repo() const
FieldRepo instance that manages this field.
Definition Field.H:159
int num_active_levels() const noexcept
Total number of levels currently active in the AMR mesh.
Definition FieldRepo.H:361
void register_io_var(const std::string &fname)
Convenience function to register a variable for both output and restart.
Definition IOManager.H:76
Definition SimTime.H:30
Definition DiffusionOps.H:30
Definition TurbulenceModel.H:32
virtual void update_scalar_diff(Field &deff, const std::string &name)=0
Interface to update scalar diffusivity based on Schmidt number.
void lincomb(T1 &dst, const amrex::Real a, const T2 &x, const int xcomp, const amrex::Real b, const T3 &y, const int ycomp, const int dstcomp, const int numcomp, const amrex::IntVect &nghost)
Definition field_ops.H:317
Definition AdvOp_Godunov.H:16
PDEFields create_fields_instance(const SimTime &time, FieldRepo &repo, const FieldInterpolator itype=FieldInterpolator::CellConsLinear)
Definition PDEHelpers.H:49
amrex::Array< amrex::LinOpBCType, AMREX_SPACEDIM > get_diffuse_scalar_bc(amr_wind::Field &scalar, amrex::Orientation::Side side) noexcept
void compute_diff_term(const FieldState fstate)
Computes the diffusion term that goes in the RHS.
Definition tke_ops.H:137
Field & m_lhs_src_term
Definition tke_ops.H:167
void set_acoeffs(typename TKE::MLDiffOp &linop, const FieldState fstate) override
Definition tke_ops.H:151
DiffusionOp(PDEFields &fields, const bool has_overset, const bool mesh_mapping)
Definition tke_ops.H:115
Definition PDEOps.H:172
PDEFields operator()(const SimTime &time)
Definition tke_ops.H:86
FieldRegOp(CFDSim &sim_in)
Definition tke_ops.H:67
Definition PDEOps.H:35
Definition PDEFields.H:27
Field & mueff
Effective visocity field (e.g., velocity_mueff)
Definition PDEFields.H:36
Field & field
Solution variable (e.g., velocity, temperature)
Definition PDEFields.H:34
PostSolveOp(CFDSim &, PDEFields &fields)
Definition tke_ops.H:35
void operator()(const amrex::Real time)
Definition tke_ops.H:37
Definition PDEOps.H:205
Definition TKE.H:33
TurbulenceOp(turbulence::TurbulenceModel &tmodel, PDEFields &fields)
Definition tke_ops.H:15
turbulence::TurbulenceModel & m_tmodel
Definition tke_ops.H:25
Definition PDEOps.H:179
Generated by 1.12.0