/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/PDEOps.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
PDEOps.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
const std::string & name() const
Name of this field (including state information)
Definition Field.H:125
int num_comp() const
Number of components for this field.
Definition Field.H:134
void setVal(amrex::Real value) noexcept
Set the field to a constant value at all levels.
Definition Field.cpp:343
Field & state(const FieldState fstate)
Return field at a different time state.
Definition Field.cpp:114
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 TurbulenceModel.H:32
virtual void update_scalar_diff(Field &deff, const std::string &name)=0
Interface to update scalar diffusivity based on Schmidt number.
FieldState phi_state(const FieldState fstate)
Definition FieldUtils.H:115
Definition AdvOp_Godunov.H:16
PDEFields create_fields_instance(const SimTime &time, FieldRepo &repo, const FieldInterpolator itype=FieldInterpolator::CellConsLinear)
Definition PDEHelpers.H:49
Definition PDEOps.H:168
Definition PDEOps.H:198
Definition PDEOps.H:172
Definition PDEOps.H:35
PDEFields operator()(const SimTime &time)
Definition PDEOps.H:44
Definition PDEFields.H:27
Field & src_term
Source term for this PDE.
Definition PDEFields.H:39
Field & mueff
Effective visocity field (e.g., velocity_mueff)
Definition PDEFields.H:36
FieldRepo & repo
Reference to the field repository instance.
Definition PDEFields.H:31
Field & field
Solution variable (e.g., velocity, temperature)
Definition PDEFields.H:34
Definition PDEOps.H:205
void operator()(const amrex::Real time)
Definition PDEOps.H:210
PostSolveOp(CFDSim &sim, PDEFields &fields)
Definition PDEOps.H:206
Definition PDEOps.H:69
amrex::Vector< std::unique_ptr< typename PDE::SrcTerm > > sources
Definition PDEOps.H:154
void multiply_rho(const FieldState fstate)
Helper method to multiply the source terms with density.
Definition PDEOps.H:91
SrcTermOpBase(PDEFields &fields_in)
Definition PDEOps.H:70
virtual void operator()(const FieldState fstate, const bool)
Update source terms during time-integration procedure.
Definition PDEOps.H:120
void init_source_terms(const CFDSim &sim)
Definition PDEOps.H:78
Definition PDEOps.H:162
Definition PDEOps.H:179
TurbulenceOp(turbulence::TurbulenceModel &tmodel, PDEFields &fields)
Definition PDEOps.H:181
Generated by 1.12.0