Abstract base class for objective functions in incompressible flows. More...
Public Member Functions | |
TypeName ("incompressible") | |
declareRunTimeSelectionTable (autoPtr, objectiveIncompressible, dictionary,(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName),(mesh, dict, adjointSolverName, primalSolverName)) | |
objectiveIncompressible (const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName) | |
virtual | ~objectiveIncompressible ()=default |
virtual scalar | J ()=0 |
virtual void | doNormalization () |
const volVectorField & | dJdv () |
const volScalarField & | dJdp () |
const volScalarField & | dJdT () |
const volScalarField & | dJdTMvar1 () |
const volScalarField & | dJdTMvar2 () |
const fvPatchVectorField & | boundarydJdv (const label) |
const fvPatchScalarField & | boundarydJdvn (const label) |
const fvPatchVectorField & | boundarydJdvt (const label) |
const fvPatchVectorField & | boundarydJdp (const label) |
const fvPatchScalarField & | boundarydJdT (const label) |
const fvPatchScalarField & | boundarydJdTMvar1 (const label) |
const fvPatchScalarField & | boundarydJdTMvar2 (const label) |
const boundaryVectorField & | boundarydJdv () |
const boundaryScalarField & | boundarydJdvn () |
const boundaryVectorField & | boundarydJdvt () |
const boundaryVectorField & | boundarydJdp () |
const boundaryScalarField & | boundarydJdT () |
const boundaryScalarField & | boundarydJdTMvar1 () |
const boundaryScalarField & | boundarydJdTMvar2 () |
virtual void | update () |
virtual void | nullify () |
virtual void | update_dJdv () |
virtual void | update_dJdp () |
virtual void | update_dJdT () |
virtual void | update_dJdTMvar1 () |
virtual void | update_dJdTMvar2 () |
virtual void | update_dJdb () |
virtual void | update_divDxDbMultiplier () |
virtual void | update_gradDxDbMultiplier () |
virtual void | update_boundarydJdv () |
virtual void | update_boundarydJdvn () |
virtual void | update_boundarydJdvt () |
virtual void | update_boundarydJdp () |
virtual void | update_boundarydJdT () |
virtual void | update_boundarydJdTMvar1 () |
virtual void | update_boundarydJdTMvar2 () |
virtual void | update_boundarydJdb () |
virtual void | update_dSdbMultiplier () |
virtual void | update_dndbMultiplier () |
virtual void | update_dxdbMultiplier () |
virtual void | update_dxdbDirectMultiplier () |
virtual void | update_meanValues () |
virtual bool | write (const bool valid=true) const |
bool | hasdJdv () const |
bool | hasdJdp () const |
bool | hasdJdT () const |
bool | hasdJdTMVar1 () const |
bool | hasdJdTMVar2 () const |
bool | hasBoundarydJdv () const |
bool | hasBoundarydJdvn () const |
bool | hasBoundarydJdvt () const |
bool | hasBoundarydJdp () const |
bool | hasBoundarydJdT () const |
bool | hasBoundarydJdTMVar1 () const |
bool | hasBoundarydJdTMVar2 () const |
![]() | |
TypeName ("objective") | |
declareRunTimeNewSelectionTable (autoPtr, objective, objective,(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName),(mesh, dict, adjointSolverName, primalSolverName)) | |
objective (const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName) | |
virtual | ~objective ()=default |
virtual bool | readDict (const dictionary &dict) |
scalar | JCycle () const |
void | accumulateJMean (solverControl &solverControl) |
void | accumulateJMean () |
scalar | weight () const |
bool | normalize () const |
bool | isWithinIntegrationTime () const |
void | incrementIntegrationTimes (const scalar timeSpan) |
const volScalarField & | dJdb () |
const fvPatchVectorField & | boundarydJdb (const label) |
const fvPatchVectorField & | dSdbMultiplier (const label) |
const fvPatchVectorField & | dndbMultiplier (const label) |
const fvPatchVectorField & | dxdbMultiplier (const label) |
const fvPatchVectorField & | dxdbDirectMultiplier (const label) |
const vectorField & | boundaryEdgeMultiplier (const label patchI, const label edgeI) |
const fvPatchTensorField & | boundarydJdStress (const label) |
const boundaryVectorField & | boundarydJdb () |
const boundaryVectorField & | dSdbMultiplier () |
const boundaryVectorField & | dndbMultiplier () |
const boundaryVectorField & | dxdbMultiplier () |
const boundaryVectorField & | dxdbDirectMultiplier () |
const vectorField3 & | boundaryEdgeMultiplier () |
const boundaryTensorField & | boundarydJdStress () |
const volScalarField & | divDxDbMultiplier () |
const volTensorField & | gradDxDbMultiplier () |
virtual void | updateNormalizationFactor () |
virtual void | update_boundaryEdgeContribution () |
virtual void | update_dJdStressMultiplier () |
virtual void | writeInstantaneousValue () const |
virtual void | writeInstantaneousSeparator () const |
virtual void | writeMeanValue () const |
virtual bool | writeData (Ostream &os) const |
virtual void | addHeaderInfo () const |
virtual void | addHeaderColumns () const |
virtual void | addColumnValues () const |
const word & | objectiveName () const |
bool | hasdJdb () const |
bool | hasBoundarydJdb () const |
bool | hasdSdbMult () const |
bool | hasdndbMult () const |
bool | hasdxdbMult () const |
bool | hasdxdbDirectMult () const |
bool | hasBoundaryEdgeContribution () const |
bool | hasBoundarydJdStress () const |
bool | hasDivDxDbMult () const |
bool | hasGradDxDbMult () const |
bool | hasIntegrationStartTime () const |
bool | hasIntegrationEndTime () const |
![]() | |
localIOdictionary (const IOobject &io, const dictionary *fallback=nullptr) | |
localIOdictionary (const IOobject &io, const dictionary &dict) | |
localIOdictionary (const IOobject &io, const word &wantedType, const dictionary *fallback=nullptr) | |
localIOdictionary (const IOobject &io, Istream &is) | |
virtual | ~localIOdictionary ()=default |
virtual bool | global () const |
virtual fileName | filePath () const |
![]() | |
TypeName ("dictionary") | |
baseIOdictionary (const baseIOdictionary &)=default | |
baseIOdictionary (baseIOdictionary &&)=default | |
virtual | ~baseIOdictionary ()=default |
baseIOdictionary (const IOobject &io, const dictionary *fallback=nullptr) | |
baseIOdictionary (const IOobject &io, const dictionary &dict) | |
baseIOdictionary (const IOobject &io, Istream &is) | |
const word & | name () const |
virtual bool | readData (Istream &) |
void | operator= (const baseIOdictionary &rhs) |
void | operator= (const dictionary &rhs) |
![]() | |
TypeName ("regIOobject") | |
regIOobject (const IOobject &io, const bool isTimeObject=false) | |
regIOobject (const regIOobject &rio) | |
regIOobject (const regIOobject &rio, bool registerCopy) | |
regIOobject (const word &newName, const regIOobject &, bool registerCopy) | |
regIOobject (const IOobject &io, const regIOobject &rio) | |
virtual | ~regIOobject () |
bool | checkIn () |
bool | checkOut () |
virtual void | addWatch () |
bool | ownedByRegistry () const |
bool | store () |
void | release (const bool unregister=false) |
label | eventNo () const |
label & | eventNo () |
bool | upToDate (const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &) const |
bool | upToDate (const regIOobject &, const regIOobject &, const regIOobject &, const regIOobject &) const |
void | setUpToDate () |
virtual void | rename (const word &newName) |
const dictionary * | findMetaData () const noexcept |
dictionary & | getMetaData () noexcept |
void | removeMetaData () |
virtual void | updateMetaData () |
bool | headerOk () |
Istream & | readStream (const word &, const bool valid=true) |
void | close () |
virtual bool | read () |
virtual label | addWatch (const fileName &) |
const labelList & | watchIndices () const |
labelList & | watchIndices () |
virtual bool | modified () const |
virtual bool | readIfModified () |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
void | operator= (const IOobject &io) |
virtual bool | writeObject (IOstreamOption::streamFormat fmt, IOstreamOption::versionNumber ver, IOstreamOption::compressionType comp, const bool valid) const |
![]() | |
TypeName ("IOobject") | |
IOobject (const IOobject &)=default | |
virtual | ~IOobject ()=default |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true, bool globalObject=false) | |
IOobject (const IOobject &io, const objectRegistry ®istry) | |
IOobject (const IOobject &io, const word &name) | |
IOobject (const IOobject &io, readOption, writeOption) | |
autoPtr< IOobject > | clone () const |
autoPtr< IOobject > | clone (const objectRegistry ®istry) const |
const objectRegistry & | db () const noexcept |
const Time & | time () const |
const word & | name () const noexcept |
const word & | headerClassName () const noexcept |
word & | headerClassName () noexcept |
const string & | note () const noexcept |
string & | note () noexcept |
bool | registerObject () const noexcept |
bool | registerObject (bool on) noexcept |
bool | globalObject () const noexcept |
bool | globalObject (bool on) noexcept |
unsigned | labelByteSize () const noexcept |
unsigned | scalarByteSize () const noexcept |
bool | isHeaderClassName (const word &clsName) const |
template<class Type > | |
bool | isHeaderClassName () const |
readOption | readOpt () const noexcept |
readOption | readOpt (readOption opt) noexcept |
writeOption | writeOpt () const noexcept |
writeOption | writeOpt (writeOption opt) noexcept |
word | group () const |
word | member () const |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const noexcept |
fileName & | instance () noexcept |
const fileName & | local () const noexcept |
fileName | path () const |
fileName | path (const word &instance, const fileName &local=fileName::null) const |
fileName | objectPath () const |
fileName | objectRelPath () const |
fileName | localFilePath (const word &typeName, const bool search=true) const |
fileName | globalFilePath (const word &typeName, const bool search=true) const |
IOstreamOption | parseHeader (const dictionary &headerDict) |
bool | readHeader (Istream &is) |
bool | readHeader (dictionary &headerDict, Istream &is) |
template<class Type > | |
bool | typeHeaderOk (const bool checkType=true, const bool search=true, const bool verbose=true) |
template<class Type > | |
void | warnNoRereading () const |
bool | writeHeader (Ostream &os) const |
bool | writeHeader (Ostream &os, const word &objectType) const |
void | writeHeader (dictionary &dict, IOstreamOption streamOpt) const |
void | writeHeader (dictionary &dict, const word &objectType, IOstreamOption streamOpt) const |
bool | good () const noexcept |
bool | bad () const noexcept |
InfoProxy< IOobject > | info () const |
void | operator= (const IOobject &io) |
readOption & | readOpt () noexcept |
writeOption & | writeOpt () noexcept |
bool & | registerObject () noexcept |
bool & | globalObject () noexcept |
template<> | |
bool | isHeaderClassName () const |
template<class StringType > | |
Foam::word | groupName (StringType base, const word &group) |
![]() | |
ClassName ("dictionary") | |
dictionary () | |
dictionary (const fileName &name) | |
dictionary (const fileName &name, const dictionary &parentDict, Istream &is, bool keepHeader=false) | |
dictionary (Istream &is) | |
dictionary (Istream &is, bool keepHeader) | |
dictionary (const dictionary &parentDict, const dictionary &dict) | |
dictionary (const dictionary &dict) | |
dictionary (const dictionary *dict) | |
dictionary (const dictionary &parentDict, dictionary &&dict) | |
dictionary (dictionary &&dict) | |
autoPtr< dictionary > | clone () const |
virtual | ~dictionary () |
const fileName & | name () const noexcept |
fileName & | name () noexcept |
word | dictName () const |
fileName | relativeName (const bool caseTag=false) const |
bool | isNullDict () const noexcept |
const dictionary & | parent () const noexcept |
const dictionary & | topDict () const |
label | startLineNumber () const |
label | endLineNumber () const |
SHA1Digest | digest () const |
tokenList | tokens () const |
bool | found (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
entry * | findEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
const entry * | findEntry (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
const entry * | findScoped (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
dictionary * | findDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
const dictionary * | findDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
const entry & | lookupEntry (const word &keyword, enum keyType::option matchOpt) const |
ITstream & | lookup (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T > | |
T | get (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T > | |
T | getOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T > | |
T | getOrAdd (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) |
template<class T > | |
bool | readEntry (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const |
template<class T > | |
bool | readIfPresent (const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T , class Predicate > | |
T | getCheck (const word &keyword, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T , class Predicate > | |
T | getCheckOrDefault (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T , class Predicate > | |
T | getCheckOrAdd (const word &keyword, const T &deflt, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) |
template<class T , class Predicate > | |
bool | readCheck (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const |
template<class T , class Predicate > | |
bool | readCheckIfPresent (const word &keyword, T &val, const Predicate &pred, enum keyType::option matchOpt=keyType::REGEX) const |
bool | isDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
const dictionary & | subDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
dictionary & | subDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
dictionary & | subDictOrAdd (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) |
dictionary | subOrEmptyDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const |
const dictionary & | optionalSubDict (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
wordList | toc () const |
wordList | sortedToc () const |
template<class Compare > | |
wordList | sortedToc (const Compare &comp) const |
List< keyType > | keys (bool patterns=false) const |
bool | substituteKeyword (const word &keyword, bool mergeEntry=false) |
bool | substituteScopedKeyword (const word &keyword, bool mergeEntry=false) |
entry * | add (entry *entryPtr, bool mergeEntry=false) |
entry * | add (const entry &e, bool mergeEntry=false) |
entry * | add (const keyType &k, const word &v, bool overwrite=false) |
entry * | add (const keyType &k, const string &v, bool overwrite=false) |
entry * | add (const keyType &k, const label v, bool overwrite=false) |
entry * | add (const keyType &k, const scalar v, bool overwrite=false) |
entry * | add (const keyType &k, const dictionary &d, bool mergeEntry=false) |
template<class T > | |
entry * | add (const keyType &k, const T &v, bool overwrite=false) |
entry * | set (entry *entryPtr) |
entry * | set (const entry &e) |
entry * | set (const keyType &k, const dictionary &v) |
template<class T > | |
entry * | set (const keyType &k, const T &v) |
bool | remove (const word &keyword) |
bool | changeKeyword (const keyType &oldKeyword, const keyType &newKeyword, bool overwrite=false) |
bool | merge (const dictionary &dict) |
void | clear () |
void | transfer (dictionary &dict) |
void | checkITstream (const ITstream &is, const word &keyword) const |
bool | read (Istream &is) |
bool | read (Istream &is, bool keepHeader) |
void | writeEntry (Ostream &os) const |
void | writeEntry (const keyType &keyword, Ostream &os) const |
void | writeEntries (Ostream &os, const bool extraNewLine=false) const |
void | write (Ostream &os, const bool subDict=true) const |
const_searcher | csearch (const word &keyword, enum keyType::option=keyType::REGEX) const |
const_searcher | search (const word &keyword, enum keyType::option=keyType::REGEX) const |
searcher | search (const word &keyword, enum keyType::option=keyType::REGEX) |
const_searcher | csearchScoped (const word &keyword, enum keyType::option) const |
const_searcher | searchScoped (const word &keyword, enum keyType::option) const |
searcher | searchScoped (const word &keyword, enum keyType::option) |
const dictionary * | cfindScopedDict (const fileName &dictPath) const |
const dictionary * | findScopedDict (const fileName &dictPath) const |
dictionary * | findScopedDict (const fileName &dictPath) |
dictionary * | makeScopedDict (const fileName &dictPath) |
const_searcher | csearchCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const |
bool | foundCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const |
const entry * | findCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const |
const entry & | lookupEntryCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option) const |
ITstream & | lookupCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const |
template<class T > | |
T | getCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, enum keyType::option=keyType::REGEX) const |
template<class T > | |
T | getOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option=keyType::REGEX) const |
template<class T > | |
bool | readCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX, bool mandatory=true) const |
template<class T > | |
bool | readIfPresentCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, T &val, enum keyType::option=keyType::REGEX) const |
void | operator= (const dictionary &rhs) |
void | operator+= (const dictionary &rhs) |
void | operator|= (const dictionary &rhs) |
void | operator<<= (const dictionary &rhs) |
template<class T > | |
T | lookupOrDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const |
template<class T > | |
T | lookupOrAddDefault (const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) |
template<class T > | |
T | lookupOrDefaultCompat (const word &keyword, std::initializer_list< std::pair< const char *, int >> compat, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const |
ITstream & | operator[] (const word &keyword) const |
bool | found (const word &keyword, bool recursive, bool patternMatch=true) const |
entry * | lookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) |
const entry * | lookupEntryPtr (const word &keyword, bool recursive, bool patternMatch) const |
const entry * | lookupScopedEntryPtr (const word &keyword, bool recursive, bool patternMatch) const |
const dictionary * | subDictPtr (const word &keyword) const |
dictionary * | subDictPtr (const word &keyword) |
const entry & | lookupEntry (const word &keyword, bool recursive, bool patternMatch) const |
ITstream & | lookup (const word &keyword, bool recursive, bool patternMatch=true) const |
template<class T > | |
T | lookupOrDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true) const |
template<class T > | |
T | lookupOrAddDefault (const word &keyword, const T &deflt, bool recursive, bool patternMatch=true) |
template<class T > | |
bool | readIfPresent (const word &keyword, T &val, bool recursive, bool patternMatch=true) const |
template<class T > | |
T | lookupType (const word &keyword, bool recursive=false, bool patternMatch=true) const |
bool | getBool (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< bool >(const word&, keyType::option) More... | |
label | getLabel (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< label >(const word&, keyType::option) More... | |
scalar | getScalar (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< scalar >(const word&, keyType::option) More... | |
string | getString (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< string >(const word&, keyType::option) More... | |
word | getWord (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< word >(const word&, keyType::option) More... | |
fileName | getFileName (const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const |
Same as get< fileName >(const word&, keyType::option) More... | |
template<class Compare > | |
Foam::wordList | sortedToc (const Compare &comp) const |
template<class T > | |
Foam::entry * | add (const keyType &k, const T &v, bool overwrite) |
template<class T > | |
Foam::entry * | set (const keyType &k, const T &v) |
![]() | |
ILList ()=default | |
ILList (T *item) | |
ILList (Istream &is) | |
ILList (const ILList< LListBase, T > &lst) | |
ILList (ILList< LListBase, T > &&lst) | |
template<class CloneArg > | |
ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg) | |
template<class INew > | |
ILList (Istream &is, const INew &inew) | |
~ILList () | |
bool | eraseHead () |
bool | erase (T *item) |
void | clear () |
void | transfer (ILList< LListBase, T > &lst) |
void | operator= (const ILList< LListBase, T > &lst) |
void | operator= (ILList< LListBase, T > &&lst) |
Static Public Member Functions | |
static autoPtr< objectiveIncompressible > | New (const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName) |
![]() | |
static autoPtr< objective > | New (const fvMesh &mesh, const dictionary &dict, const word &objectiveType, const word &adjointSolverName, const word &primalSolverName) |
![]() | |
template<class Type > | |
static Type & | store (Type *p) |
template<class Type > | |
static Type & | store (autoPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (autoPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &ptr) |
template<class Type > | |
static Type & | store (refPtr< Type > &&ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &ptr) |
template<class Type > | |
static Type & | store (tmp< Type > &&ptr) |
![]() | |
static bool | bannerEnabled () noexcept |
static bool | bannerEnabled (bool on) noexcept |
static bool | fileNameComponents (const fileName &path, fileName &instance, fileName &local, word &name) |
template<class StringType > | |
static word | groupName (StringType base, const word &group) |
static word | group (const word &name) |
static word | member (const word &name) |
static word | scopedName (const std::string &scope, const word &name) |
static IOobject | selectIO (const IOobject &io, const fileName &altFile, const word &ioName="") |
static Ostream & | writeBanner (Ostream &os, const bool noSyntaxHint=false) |
static Ostream & | writeDivider (Ostream &os) |
static Ostream & | writeEndDivider (Ostream &os) |
![]() | |
static int | reportOptional () noexcept |
static int | reportOptional (const int level) noexcept |
static autoPtr< dictionary > | New (Istream &is) |
Additional Inherited Members | |
![]() | |
enum | objectState : char { GOOD, BAD } |
enum | readOption : char { MUST_READ, MUST_READ_IF_MODIFIED, READ_IF_PRESENT, NO_READ } |
enum | writeOption : char { AUTO_WRITE = 0, NO_WRITE = 1 } |
enum | fileCheckTypes : char { timeStamp, timeStampMaster, inotify, inotifyMaster } |
![]() | |
typedef Searcher< true > | const_searcher |
typedef Searcher< false > | searcher |
![]() | |
friend | const_searcher |
friend | searcher |
![]() | |
static const Enum< fileCheckTypes > | fileCheckTypesNames |
static char | scopeSeparator |
static fileCheckTypes | fileModificationChecking |
static float | fileModificationSkew |
static int | maxFileModificationPolls |
![]() | |
static int | writeOptionalEntries |
static const dictionary | null |
static refPtr< OSstream > | reportingOutput |
![]() | |
const dictionary & | dict () const |
void | setObjectiveFilePtr () const |
void | setInstantValueFilePtr () const |
void | setMeanValueFilePtr () const |
![]() | |
bool | readHeaderOk (const IOstreamOption::streamFormat fmt, const word &typeName) |
![]() | |
void | setBad (const string &s) |
![]() | |
static void | writeHeaderContent (Ostream &os, const IOobject &io, const word &objectType, const dictionary *metaDataDict=nullptr) |
static void | writeHeaderContent (dictionary &dict, const IOobject &io, const word &objectType, IOstreamOption streamOpt, const dictionary *metaDataDict=nullptr) |
![]() | |
static bool | masterOnlyReading = false |
Abstract base class for objective functions in incompressible flows.
Definition at line 50 of file objectiveIncompressible.H.
objectiveIncompressible | ( | const fvMesh & | mesh, |
const dictionary & | dict, | ||
const word & | adjointSolverName, | ||
const word & | primalSolverName | ||
) |
Definition at line 47 of file objectiveIncompressible.C.
References dict, and dictionary::get().
|
virtualdefault |
TypeName | ( | "incompressible" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
objectiveIncompressible | , | ||
dictionary | , | ||
(const fvMesh &mesh, const dictionary &dict, const word &adjointSolverName, const word &primalSolverName) | , | ||
(mesh, dict, adjointSolverName, primalSolverName) | |||
) |
|
static |
Definition at line 90 of file objectiveIncompressible.C.
References dict, dictionary::dictName(), Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), Foam::Info, and mesh.
|
pure virtual |
Implements objective.
Implemented in objectiveNutSqr, objectiveMoment, objectiveForce, objectivePtLosses, and objectivePartialVolume.
Referenced by objectiveIncompressible::update().
|
virtual |
Reimplemented from objective.
Definition at line 124 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdpPtr_, objectiveIncompressible::bdJdTMvar1Ptr_, objectiveIncompressible::bdJdTMvar2Ptr_, objectiveIncompressible::bdJdTPtr_, objectiveIncompressible::bdJdvnPtr_, objectiveIncompressible::bdJdvPtr_, objectiveIncompressible::bdJdvtPtr_, objectiveIncompressible::dJdpPtr_, objectiveIncompressible::dJdTMvar1Ptr_, objectiveIncompressible::dJdTMvar2Ptr_, objectiveIncompressible::dJdTPtr_, objectiveIncompressible::dJdvPtr_, objective::doNormalization(), objectiveIncompressible::hasBoundarydJdp(), objectiveIncompressible::hasBoundarydJdT(), objectiveIncompressible::hasBoundarydJdTMVar1(), objectiveIncompressible::hasBoundarydJdTMVar2(), objectiveIncompressible::hasBoundarydJdv(), objectiveIncompressible::hasBoundarydJdvn(), objectiveIncompressible::hasBoundarydJdvt(), objectiveIncompressible::hasdJdp(), objectiveIncompressible::hasdJdT(), objectiveIncompressible::hasdJdTMVar1(), objectiveIncompressible::hasdJdTMVar2(), objectiveIncompressible::hasdJdv(), objective::normalize_, and objective::normFactor_.
Referenced by objectiveIncompressible::update().
const volVectorField & dJdv | ( | ) |
Definition at line 185 of file objectiveIncompressible.C.
References objectiveIncompressible::dJdvPtr_, objective::mesh_, and Foam::type().
const volScalarField & dJdp | ( | ) |
Definition at line 204 of file objectiveIncompressible.C.
References objectiveIncompressible::dJdpPtr_, objective::mesh_, and Foam::type().
const volScalarField & dJdT | ( | ) |
Definition at line 223 of file objectiveIncompressible.C.
References objectiveIncompressible::dJdTPtr_, objective::mesh_, and Foam::type().
const volScalarField & dJdTMvar1 | ( | ) |
Definition at line 242 of file objectiveIncompressible.C.
References objectiveIncompressible::dJdTMvar1Ptr_, objective::mesh_, and Foam::type().
Referenced by objectiveNutSqr::update_dJdTMvar1().
const volScalarField & dJdTMvar2 | ( | ) |
Definition at line 261 of file objectiveIncompressible.C.
References objectiveIncompressible::dJdTMvar2Ptr_, objective::mesh_, and Foam::type().
const fvPatchVectorField & boundarydJdv | ( | const label | patchI | ) |
Definition at line 281 of file objectiveIncompressible.C.
const fvPatchScalarField & boundarydJdvn | ( | const label | patchI | ) |
Definition at line 294 of file objectiveIncompressible.C.
const fvPatchVectorField & boundarydJdvt | ( | const label | patchI | ) |
Definition at line 307 of file objectiveIncompressible.C.
const fvPatchVectorField & boundarydJdp | ( | const label | patchI | ) |
Definition at line 320 of file objectiveIncompressible.C.
const fvPatchScalarField & boundarydJdT | ( | const label | patchI | ) |
Definition at line 333 of file objectiveIncompressible.C.
const fvPatchScalarField & boundarydJdTMvar1 | ( | const label | patchI | ) |
Definition at line 346 of file objectiveIncompressible.C.
const fvPatchScalarField & boundarydJdTMvar2 | ( | const label | patchI | ) |
Definition at line 359 of file objectiveIncompressible.C.
const boundaryVectorField & boundarydJdv | ( | ) |
Definition at line 371 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdvPtr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::velocitySource().
const boundaryScalarField & boundarydJdvn | ( | ) |
Definition at line 381 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdvnPtr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::pressureSource().
const boundaryVectorField & boundarydJdvt | ( | ) |
Definition at line 391 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdvtPtr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::tangentVelocitySource().
const boundaryVectorField & boundarydJdp | ( | ) |
Definition at line 401 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdpPtr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::normalVelocitySource().
const boundaryScalarField & boundarydJdT | ( | ) |
Definition at line 411 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdTPtr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::energySource().
const boundaryScalarField & boundarydJdTMvar1 | ( | ) |
Definition at line 421 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdTMvar1Ptr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::adjointTMVariable1Source().
const boundaryScalarField & boundarydJdTMvar2 | ( | ) |
Definition at line 431 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdTMvar2Ptr_, and objective::mesh_.
Referenced by boundaryAdjointContributionIncompressible::adjointTMVariable2Source().
|
virtual |
Implements objective.
Definition at line 441 of file objectiveIncompressible.C.
References objectiveIncompressible::doNormalization(), objectiveIncompressible::J(), objectiveIncompressible::update_boundarydJdb(), objectiveIncompressible::update_boundarydJdp(), objectiveIncompressible::update_boundarydJdT(), objectiveIncompressible::update_boundarydJdTMvar1(), objectiveIncompressible::update_boundarydJdTMvar2(), objectiveIncompressible::update_boundarydJdv(), objectiveIncompressible::update_boundarydJdvn(), objectiveIncompressible::update_boundarydJdvt(), objective::update_boundaryEdgeContribution(), objectiveIncompressible::update_divDxDbMultiplier(), objectiveIncompressible::update_dJdb(), objectiveIncompressible::update_dJdp(), objective::update_dJdStressMultiplier(), objectiveIncompressible::update_dJdT(), objectiveIncompressible::update_dJdTMvar1(), objectiveIncompressible::update_dJdTMvar2(), objectiveIncompressible::update_dJdv(), objectiveIncompressible::update_dndbMultiplier(), objectiveIncompressible::update_dSdbMultiplier(), objectiveIncompressible::update_dxdbDirectMultiplier(), objectiveIncompressible::update_dxdbMultiplier(), objectiveIncompressible::update_gradDxDbMultiplier(), and objectiveIncompressible::update_meanValues().
|
virtual |
Reimplemented from objective.
Definition at line 481 of file objectiveIncompressible.C.
References objectiveIncompressible::bdJdpPtr_, objectiveIncompressible::bdJdTMvar1Ptr_, objectiveIncompressible::bdJdTMvar2Ptr_, objectiveIncompressible::bdJdTPtr_, objectiveIncompressible::bdJdvnPtr_, objectiveIncompressible::bdJdvPtr_, objectiveIncompressible::bdJdvtPtr_, objectiveIncompressible::dJdpPtr_, objectiveIncompressible::dJdTMvar1Ptr_, objectiveIncompressible::dJdTMvar2Ptr_, objectiveIncompressible::dJdTPtr_, objectiveIncompressible::dJdvPtr_, objectiveIncompressible::hasBoundarydJdp(), objectiveIncompressible::hasBoundarydJdT(), objectiveIncompressible::hasBoundarydJdTMVar1(), objectiveIncompressible::hasBoundarydJdTMVar2(), objectiveIncompressible::hasBoundarydJdv(), objectiveIncompressible::hasBoundarydJdvn(), objectiveIncompressible::hasBoundarydJdvt(), objectiveIncompressible::hasdJdp(), objectiveIncompressible::hasdJdT(), objectiveIncompressible::hasdJdTMVar1(), objectiveIncompressible::hasdJdTMVar2(), objectiveIncompressible::hasdJdv(), objective::nullified_, objective::nullify(), VectorSpace< Vector< scalar >, scalar, 3 >::zero, and Foam::Zero.
|
inlinevirtual |
Definition at line 235 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 238 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 241 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectiveNutSqr.
Definition at line 244 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 247 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 250 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Reimplemented in objectiveNutSqr.
Definition at line 253 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Definition at line 256 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectivePtLosses.
Definition at line 259 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectivePtLosses.
Definition at line 262 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectivePtLosses.
Definition at line 265 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectiveMoment, objectiveForce, and objectivePtLosses.
Definition at line 268 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 271 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 274 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Definition at line 277 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Definition at line 280 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Reimplemented in objectiveMoment, objectiveForce, and objectivePartialVolume.
Definition at line 283 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Definition at line 286 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Reimplemented in objectiveMoment, and objectiveForce.
Definition at line 289 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented from objective.
Reimplemented in objectiveMoment, and objectivePartialVolume.
Definition at line 292 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
|
inlinevirtual |
Reimplemented in objectiveMoment.
Definition at line 300 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::update().
Reimplemented from objective.
Definition at line 542 of file objectiveIncompressible.C.
References objective::write().
|
inline |
Definition at line 26 of file objectiveIncompressibleI.H.
References bool, and objectiveIncompressible::dJdvPtr_.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 32 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 38 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 44 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 50 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 56 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 62 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 68 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 74 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 80 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 86 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
inline |
Definition at line 92 of file objectiveIncompressibleI.H.
References bool.
Referenced by objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 58 of file objectiveIncompressible.H.
Referenced by objectivePtLosses::initialize(), objectivePtLosses::J(), objectiveForce::J(), objectiveMoment::J(), objectiveNutSqr::J(), objectivePtLosses::update_boundarydJdp(), objectivePtLosses::update_boundarydJdv(), objectivePtLosses::update_boundarydJdvn(), objectivePtLosses::update_boundarydJdvt(), objectiveNutSqr::update_divDxDbMultiplier(), objectiveNutSqr::update_dJdTMvar1(), objectiveForce::update_dSdbMultiplier(), objectiveMoment::update_dSdbMultiplier(), objectiveMoment::update_dxdbDirectMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), and objectiveMoment::update_meanValues().
|
protected |
Definition at line 63 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::dJdv(), objectiveIncompressible::doNormalization(), objectiveIncompressible::hasdJdv(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 64 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::dJdp(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 65 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::dJdT(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 68 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::dJdTMvar1(), objectiveIncompressible::doNormalization(), objectiveIncompressible::nullify(), and objectiveNutSqr::update_dJdTMvar1().
|
protected |
Definition at line 71 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::dJdTMvar2(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 75 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdv(), objectiveIncompressible::doNormalization(), objectiveIncompressible::nullify(), and objectivePtLosses::update_boundarydJdv().
|
protected |
Definition at line 78 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdvn(), objectiveIncompressible::doNormalization(), objectiveIncompressible::nullify(), and objectivePtLosses::update_boundarydJdvn().
|
protected |
Definition at line 81 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdvt(), objectiveIncompressible::doNormalization(), objectiveIncompressible::nullify(), and objectivePtLosses::update_boundarydJdvt().
|
protected |
Definition at line 84 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdp(), objectiveIncompressible::doNormalization(), objectiveIncompressible::nullify(), objectivePtLosses::update_boundarydJdp(), objectiveForce::update_boundarydJdp(), and objectiveMoment::update_boundarydJdp().
|
protected |
Definition at line 87 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdT(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 90 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdTMvar1(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
|
protected |
Definition at line 93 of file objectiveIncompressible.H.
Referenced by objectiveIncompressible::boundarydJdTMvar2(), objectiveIncompressible::doNormalization(), and objectiveIncompressible::nullify().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.