VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
SimulationObservers

Namespaces

namespace  vf
 
namespace  vf::parallel
 
namespace  mpi_io_data_structures
 

Classes

class  AdjustForcingSimulationObserver
 Computes forcing such that a given velocity (vx1Targed) is reached inside an averaging domain (h1). More...
 
class  AverageValuesSimulationObserver
 Computes the time averaged mean velocity and RMS values and writes to parallel .vtk. More...
 
class  CalculateForcesSimulationObserver
 
class  DecreaseViscositySimulationObserver
 The class sets viscosity/collision factor according to a previously defined function in time. More...
 
class  EmergencyExitSimulationObserver
 
class  ForceCalculator
 
class  IntegrateValuesHelper
 
struct  IntegrateValuesHelper::CalcNodes
 
struct  IntegrateValuesHelper::Node
 
class  LineTimeSeriesSimulationObserver
 Writes to .csv file time series for a line in x1 direction. More...
 
class  MicrophoneArraySimulationObserver
 Class implements microphone array. More...
 
struct  mpi_io_data_structures::GridParam
 Structure describes parameters of the grid. More...
 
struct  mpi_io_data_structures::Block3d
 Structure contains information of the block. More...
 
struct  mpi_io_data_structures::dataSetParam
 Structure describes parameters of the dataSet that are equal in all blocks. More...
 
struct  mpi_io_data_structures::DataSetRestart
 Structure describes parameters of the dataSet in MPIIORestartSimulationObserver format. More...
 
struct  mpi_io_data_structures::DataSetMigration
 Structure describes parameters of the dataSet in MPIIOMigrationSimulationObserver format. More...
 
struct  mpi_io_data_structures::DataSetSmallRestart
 
struct  mpi_io_data_structures::DataSetSmallMigration
 
struct  mpi_io_data_structures::BoundaryCondition
 Structure containes information about boundary conditions of the block. More...
 
struct  mpi_io_data_structures::boundCondParam
 Structure describes parameters of the boundaryConditions that are equal in all blocks. More...
 
struct  mpi_io_data_structures::BCAddRestart
 
struct  mpi_io_data_structures::BCAddMigration
 
struct  mpi_io_data_structures::DSArraysPresence
 
class  MPIIOMigrationBESimulationObserver
 
class  MPIIOMigrationSimulationObserver
 
class  MPIIORestartSimulationObserver
 Writes the grid each timestep into the files and reads the grip from the files before regenerating. More...
 
class  MPIIOSimulationObserver
 
class  NUPSCounterSimulationObserver
 A class calculates Nodal Updates Per Second (NUPS) More...
 
class  PressureCoefficientSimulationObserver
 
class  PressureDifferenceSimulationObserver
 
class  QCriterionSimulationObserver
 Computes the value Q with which vortices can be visualized as isocontours to Q=0, writes to .vtk, For uniform, serial setups only! More...
 
class  ShearStressSimulationObserver
 Computes the shear stress and y plus values and writes to parallel .vtk. More...
 
class  SimulationObserver
 An abstract class implements observer design pettern. More...
 
class  TimeAveragedValuesSimulationObserver
 Computes the time averaged mean velocity and RMS values and writes to parallel .vtk. More...
 
class  TimeDependentBCSimulationObserver
 The class update interactors depend of time step. More...
 
class  TimeseriesSimulationObserver
 Writes timeseries of density and velocity to a file. More...
 
class  TurbulenceIntensitySimulationObserver
 
class  WriteBlocksSimulationObserver
 A class writes a block grid to a VTK-file. More...
 
class  WriteBoundaryConditionsSimulationObserver
 A class writes boundary conditions information to a VTK-file. More...
 
class  WriteGbObjectsSimulationObserver
 Writes geometry objects as VTK unstructured grid. More...
 
class  WriteMacroscopicQuantitiesSimulationObserver
 A class writes macroscopic quantities information to a VTK-file. More...
 
class  WriteMQFromSelectionSimulationObserver
 
class  MPIWriteBlocksBESimulationObserver
 Writes the grid each timestep into the files and reads the grip from the files before regenerating. More...
 
class  MPIWriteBlocksSimulationObserver
 Writes the grid each timestep into the files and reads the grip from the files before regenerating. More...
 

Macros

#define MESSAGE_TAG   80
 
#define SEND_BLOCK_SIZE   100000
 
#define BLOCK_SIZE   1024
 
#define _MPIIOSimulationObserver_H_
 

Functions

 AdjustForcingSimulationObserver::AdjustForcingSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, SPtr< IntegrateValuesHelper > integrateValues, real vTarged, std::shared_ptr< vf::parallel::Communicator > comm)
 calls collect PostprocessData
 
void AdjustForcingSimulationObserver::update (real step) override
 Updates observer.
 
void AdjustForcingSimulationObserver::collectData (real step)
 
 AverageValuesSimulationObserver::AverageValuesSimulationObserver ()
 
 AverageValuesSimulationObserver::AverageValuesSimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, SPtr< UbScheduler > Avs, SPtr< UbScheduler > rsMeans, SPtr< UbScheduler > rsRMS, bool restart)
 
void AverageValuesSimulationObserver::update (real step) override
 Make update.
 
void AverageValuesSimulationObserver::resetDataRMS (real step)
 Reset data.
 
void AverageValuesSimulationObserver::resetDataMeans (real step)
 
void AverageValuesSimulationObserver::collectData (real step)
 Prepare data and write in .vtk file.
 
void AverageValuesSimulationObserver::clearData ()
 
void AverageValuesSimulationObserver::addData (const SPtr< Block3D > block)
 prepare data
 
void AverageValuesSimulationObserver::calculateAverageValues (real timeStep)
 Computes average and RMS values of macroscopic quantities.
 
 CalculateForcesSimulationObserver::CalculateForcesSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm, real v, real a)
 
 CalculateForcesSimulationObserver::~CalculateForcesSimulationObserver () override
 
void CalculateForcesSimulationObserver::update (real step) override
 Updates observer.
 
void CalculateForcesSimulationObserver::collectData (real step)
 
void CalculateForcesSimulationObserver::calculateForces ()
 
void CalculateForcesSimulationObserver::calculateCoefficients ()
 
void CalculateForcesSimulationObserver::addInteractor (SPtr< D3Q27Interactor > interactor)
 
 DecreaseViscositySimulationObserver::DecreaseViscositySimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, mu::Parser *nueFunc, std::shared_ptr< vf::parallel::Communicator > comm)
 
 DecreaseViscositySimulationObserver::~DecreaseViscositySimulationObserver () override
 
void DecreaseViscositySimulationObserver::update (real step) override
 calls collect PostprocessData.
 
void DecreaseViscositySimulationObserver::setViscosity (real step)
 resets the collision factor depending on the current timestep.
 
 EmergencyExitSimulationObserver::EmergencyExitSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, SPtr< MPIIORestartSimulationObserver > rp, std::shared_ptr< vf::parallel::Communicator > comm)
 
 EmergencyExitSimulationObserver::~EmergencyExitSimulationObserver () override
 
void EmergencyExitSimulationObserver::update (real step) override
 Updates observer.
 
void EmergencyExitSimulationObserver::collectData (real step)
 
void EmergencyExitSimulationObserver::writeMetafile (int status)
 
bool EmergencyExitSimulationObserver::readMetafile ()
 
void EmergencyExitSimulationObserver::checkMetafile ()
 
 ForceCalculator::ForceCalculator (std::shared_ptr< vf::parallel::Communicator > comm)
 
virtual ForceCalculator::~ForceCalculator ()
 
std::array< real, 3 > ForceCalculator::getForces (int x1, int x2, int x3, std::shared_ptr< DistributionArray3D > distributions, std::shared_ptr< BoundaryConditions > bc) const
 
std::array< real, 3 > ForceCalculator::getForcesForDEM (int x1, int x2, int x3, std::shared_ptr< DistributionArray3D > distributions, std::shared_ptr< BoundaryConditions > bc, const std::array< real, 3 > &boundaryVelocity) const
 
std::array< real, 3 > ForceCalculator::getForcesGalileanInvariantMomentumExchange (int x1, int x2, int x3, std::shared_ptr< DistributionArray3D > distributions, std::shared_ptr< BoundaryConditions > bc) const
 
void ForceCalculator::calculateForces (std::vector< std::shared_ptr< D3Q27Interactor > > interactors)
 
std::array< real, 3 > ForceCalculator::getGlobalForces () const
 
 IntegrateValuesHelper::IntegrateValuesHelper (SPtr< Grid3D > grid, std::shared_ptr< vf::parallel::Communicator > comm, real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3)
 
 IntegrateValuesHelper::IntegrateValuesHelper (SPtr< Grid3D > grid, std::shared_ptr< vf::parallel::Communicator > comm, real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, int level)
 
virtual IntegrateValuesHelper::~IntegrateValuesHelper ()
 
void IntegrateValuesHelper::calculateAV ()
 
void IntegrateValuesHelper::calculateMQ ()
 
void IntegrateValuesHelper::clearData ()
 
real IntegrateValuesHelper::getNumberOfFluidsNodes ()
 
real IntegrateValuesHelper::getNumberOfSolidNodes ()
 
GbCuboid3DPtr IntegrateValuesHelper::getBoundingBox ()
 
std::vector< CalcNodesIntegrateValuesHelper::getCNodes ()
 
 LineTimeSeriesSimulationObserver::LineTimeSeriesSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, SPtr< GbLine3D > line, int level, std::shared_ptr< vf::parallel::Communicator > comm)
 
void LineTimeSeriesSimulationObserver::update (real step) override
 Updates observer.
 
void LineTimeSeriesSimulationObserver::writeLine (const std::string &path)
 
void LineTimeSeriesSimulationObserver::collectData ()
 
 MicrophoneArraySimulationObserver::MicrophoneArraySimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 MicrophoneArraySimulationObserver::~MicrophoneArraySimulationObserver () override
 
void MicrophoneArraySimulationObserver::update (real step) override
 calls collectData.
 
bool MicrophoneArraySimulationObserver::addMicrophone (GbVector3D coords)
 add microphone
 
void MicrophoneArraySimulationObserver::collectData (real step)
 
void MicrophoneArraySimulationObserver::writeFile (real step)
 
 MPIIOMigrationBESimulationObserver::MPIIOMigrationBESimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, SPtr< Grid3DVisitor > mV, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 MPIIOMigrationBESimulationObserver::~MPIIOMigrationBESimulationObserver () override
 
void MPIIOMigrationBESimulationObserver::update (real step) override
 Each timestep writes the grid into the files.
 
void MPIIOMigrationBESimulationObserver::clearAllFiles (int step)
 The function truncates the data files.
 
void MPIIOMigrationBESimulationObserver::writeBlocks (int step)
 Writes the blocks of the grid into the file cpBlocks.bin.
 
void MPIIOMigrationBESimulationObserver::writeDataSet (int step)
 Writes the datasets of the blocks into the file cpDataSet.bin.
 
void MPIIOMigrationBESimulationObserver::write4DArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationBESimulationObserver::write3DArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationBESimulationObserver::writeBoundaryConds (int step)
 Writes the boundary conditions of the blocks into the file cpBC.bin.
 
void MPIIOMigrationBESimulationObserver::restart (int step)
 Reads the grid from the files before grid reconstruction.
 
void MPIIOMigrationBESimulationObserver::readBlocks (int step)
 Reads the blocks of the grid from the file cpBlocks.bin.
 
void MPIIOMigrationBESimulationObserver::blocksExchange (int tagN, int ind1, int ind2, int doubleCountInBlock, std::vector< real > &pV, std::vector< real > *rawDataReceive)
 
void MPIIOMigrationBESimulationObserver::readDataSet (int step)
 Reads the datasets of the blocks from the file cpDataSet.bin.
 
void MPIIOMigrationBESimulationObserver::readArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationBESimulationObserver::readBoundaryConds (int step)
 Reads the boundary conditions of the blocks from the file cpBC.bin.
 
void MPIIOMigrationBESimulationObserver::setLBMKernel (SPtr< LBMKernel > kernel)
 The function sets LBMKernel.
 
void MPIIOMigrationBESimulationObserver::setBCSet (SPtr< BCSet > BCSet)
 The function sets BCSet.
 
void MPIIOMigrationBESimulationObserver::setNu (real nu)
 
void MPIIOMigrationBESimulationObserver::setNuLG (real cfL, real cfG)
 
void MPIIOMigrationBESimulationObserver::setDensityRatio (real dr)
 
 MPIIOMigrationSimulationObserver::MPIIOMigrationSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, SPtr< Grid3DVisitor > mV, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 MPIIOMigrationSimulationObserver::~MPIIOMigrationSimulationObserver () override
 
void MPIIOMigrationSimulationObserver::update (real step) override
 Each timestep writes the grid into the files.
 
void MPIIOMigrationSimulationObserver::clearAllFiles (int step)
 The function truncates the data files.
 
void MPIIOMigrationSimulationObserver::writeBlocks (int step)
 Writes the blocks of the grid into the file cpBlocks.bin.
 
void MPIIOMigrationSimulationObserver::writeDataSet (int step)
 Writes the datasets of the blocks into the file cpDataSet.bin.
 
void MPIIOMigrationSimulationObserver::write4DArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationSimulationObserver::write3DArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationSimulationObserver::writeBoundaryConds (int step)
 Writes the boundary conditions of the blocks into the file cpBC.bin.
 
void MPIIOMigrationSimulationObserver::restart (int step)
 Reads the grid from the files before grid reconstruction.
 
void MPIIOMigrationSimulationObserver::readBlocks (int step)
 Reads the blocks of the grid from the file cpBlocks.bin.
 
void MPIIOMigrationSimulationObserver::readDataSet (int step)
 Reads the datasets of the blocks from the file cpDataSet.bin.
 
void MPIIOMigrationSimulationObserver::readArray (int step, Arrays arrType, std::string fname)
 
void MPIIOMigrationSimulationObserver::readBoundaryConds (int step)
 Reads the boundary conditions of the blocks from the file cpBC.bin.
 
void MPIIOMigrationSimulationObserver::setLBMKernel (SPtr< LBMKernel > kernel)
 The function sets LBMKernel.
 
void MPIIOMigrationSimulationObserver::setBCSet (SPtr< BCSet > BCSet)
 The function sets BCSet.
 
 MPIIORestartSimulationObserver::MPIIORestartSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 MPIIORestartSimulationObserver::~MPIIORestartSimulationObserver () override
 
void MPIIORestartSimulationObserver::update (real step) override
 Each timestep writes the grid into the files.
 
void MPIIORestartSimulationObserver::clearAllFiles (int step)
 The function truncates the data files.
 
void MPIIORestartSimulationObserver::writeBlocks (int step)
 Writes the blocks of the grid into the file cpBlocks.bin.
 
void MPIIORestartSimulationObserver::writeDataSet (int step)
 Writes the datasets of the blocks into the file cpDataSet.bin.
 
void MPIIORestartSimulationObserver::write4DArray (int step, Arrays arrType, std::string fname)
 
void MPIIORestartSimulationObserver::write3DArray (int step, Arrays arrType, std::string fname)
 
void MPIIORestartSimulationObserver::writeBoundaryConds (int step)
 Writes the boundary conditions of the blocks into the file cpBC.bin.
 
void MPIIORestartSimulationObserver::restart (int step)
 Reads the grid from the files before grid reconstruction.
 
void MPIIORestartSimulationObserver::readBlocks (int step)
 Reads the blocks of the grid from the file cpBlocks.bin.
 
void MPIIORestartSimulationObserver::readDataSet (int step)
 Reads the datasets of the blocks from the file cpDataSet.bin.
 
void MPIIORestartSimulationObserver::readArray (int step, Arrays arrType, std::string fname)
 
void MPIIORestartSimulationObserver::readBoundaryConds (int step)
 Reads the boundary conditions of the blocks from the file cpBC.bin.
 
void MPIIORestartSimulationObserver::setLBMKernel (SPtr< LBMKernel > kernel)
 The function sets LBMKernel.
 
void MPIIORestartSimulationObserver::setBCSet (SPtr< BCSet > BCSet)
 The function sets BCSet.
 
 MPIIOSimulationObserver::MPIIOSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 MPIIOSimulationObserver::~MPIIOSimulationObserver () override
 
void MPIIOSimulationObserver::writeBlocks (int step)
 Writes the blocks of the grid into the file cpBlocks.bin.
 
void MPIIOSimulationObserver::readBlocks (int step)
 Reads the blocks of the grid from the file cpBlocks.bin.
 
void MPIIOSimulationObserver::clearAllFiles (int step)
 The function truncates the data files.
 
void MPIIOSimulationObserver::writeCpTimeStep (int step)
 The function write a time step of last check point.
 
int MPIIOSimulationObserver::readCpTimeStep ()
 The function read a time step of last check point.
 
 NUPSCounterSimulationObserver::NUPSCounterSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, int numOfThreads, std::shared_ptr< vf::parallel::Communicator > comm)
 Construct NUPSCounterSimulationObserver object for grid object and scheduler object.
 
 NUPSCounterSimulationObserver::~NUPSCounterSimulationObserver () override
 
void NUPSCounterSimulationObserver::update (real step) override
 Updates observer.
 
void NUPSCounterSimulationObserver::collectData (real step)
 
 PressureCoefficientSimulationObserver::PressureCoefficientSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, SPtr< GbCuboid3D > plane, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 PressureCoefficientSimulationObserver::~PressureCoefficientSimulationObserver () override
 
void PressureCoefficientSimulationObserver::update (real step) override
 Updates observer.
 
void PressureCoefficientSimulationObserver::collectData (real step)
 
void PressureCoefficientSimulationObserver::calculateRho ()
 
void PressureCoefficientSimulationObserver::writeValues (int step)
 
void PressureCoefficientSimulationObserver::readValues (int step)
 
void PressureCoefficientSimulationObserver::addInteractor (SPtr< D3Q27Interactor > interactor)
 
 PressureDifferenceSimulationObserver::PressureDifferenceSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, SPtr< IntegrateValuesHelper > h1, SPtr< IntegrateValuesHelper > h2, real rhoReal, real uReal, real uLB, std::shared_ptr< vf::parallel::Communicator > comm)
 
 PressureDifferenceSimulationObserver::~PressureDifferenceSimulationObserver () override
 
void PressureDifferenceSimulationObserver::update (real step) override
 Updates observer.
 
void PressureDifferenceSimulationObserver::collectData (real step)
 
 QCriterionSimulationObserver::QCriterionSimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, std::shared_ptr< vf::parallel::Communicator > comm)
 
void QCriterionSimulationObserver::update (real step) override
 Make update if timestep is write-timestep specified in SPtr<UbScheduler> s.
 
void QCriterionSimulationObserver::collectData (real step)
 Prepare data and write in .vtk file.
 
void QCriterionSimulationObserver::clearData ()
 After writing to .vtk-file, all vectors are reset.
 
void QCriterionSimulationObserver::addData (const SPtr< Block3D > block)
 Q is computed for all points in a block. Data for writing is added to data and cell vectors.
 
void QCriterionSimulationObserver::getNeighborVelocities (int offx, int offy, int offz, int ix1, int ix2, int ix3, const SPtr< Block3D > block, real *vE, real *vW)
 Computes average and RMS values of macroscopic quantities.
 
void QCriterionSimulationObserver::computeVelocity (real *f, real *v, bool compressible)
 Computes macroscopic velocities.
 
 ShearStressSimulationObserver::ShearStressSimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, SPtr< UbScheduler > rs)
 Constructor.
 
 ShearStressSimulationObserver::~ShearStressSimulationObserver () override
 
void ShearStressSimulationObserver::update (real step) override
 Updates observer.
 
void ShearStressSimulationObserver::collectData (real step)
 Prepare data and write in .vtk file.
 
void ShearStressSimulationObserver::clearData ()
 
void ShearStressSimulationObserver::calculateShearStress (real timeStep)
 Computes average and shear stress values of macroscopic quantities.
 
void ShearStressSimulationObserver::addData ()
 prepare data
 
void ShearStressSimulationObserver::reset (real step)
 
void ShearStressSimulationObserver::resetData (real step)
 Reset data.
 
void ShearStressSimulationObserver::addInteractor (SPtr< D3Q27Interactor > interactor)
 
void ShearStressSimulationObserver::findPlane (int ix1, int ix2, int ix3, SPtr< Grid3D > grid, SPtr< Block3D > block, real &A, real &B, real &C, real &D, real &ii)
 
bool ShearStressSimulationObserver::checkUndefindedNodes (SPtr< BCArray3D > bcArray, int ix1, int ix2, int ix3)
 
void ShearStressSimulationObserver::initDistance ()
 
 SimulationObserver::SimulationObserver ()
 Class default constructor.
 
 SimulationObserver::SimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s)
 Construct SimulationObserver object for grid object and scheduler object.
 
virtual SimulationObserver::~SimulationObserver ()
 Class destructor.
 
 TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver ()
 
 TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, std::shared_ptr< vf::parallel::Communicator > comm, int options)
 
 TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, std::shared_ptr< vf::parallel::Communicator > comm, int options, std::vector< int > levels, std::vector< real > &levelCoords, std::vector< real > &bounds, bool timeAveraging=true)
 
void TimeAveragedValuesSimulationObserver::init ()
 
void TimeAveragedValuesSimulationObserver::initData ()
 
void TimeAveragedValuesSimulationObserver::update (real step) override
 Make update.
 
void TimeAveragedValuesSimulationObserver::collectData (real step)
 Prepare data and write in .vtk file.
 
void TimeAveragedValuesSimulationObserver::clearData ()
 
void TimeAveragedValuesSimulationObserver::addData (const SPtr< Block3D > block)
 prepare data
 
void TimeAveragedValuesSimulationObserver::calculateAverageValues (real timeStep)
 Computes average values of velocity , fluctuations and triple correlations.
 
void TimeAveragedValuesSimulationObserver::calculateSubtotal (real step)
 Computes subtotal of velocity , fluctuations and triple correlations.
 
void TimeAveragedValuesSimulationObserver::planarAverage (real step)
 
void TimeAveragedValuesSimulationObserver::reset ()
 
void TimeAveragedValuesSimulationObserver::setWithGhostLayer (bool val)
 
bool TimeAveragedValuesSimulationObserver::getWithGhostLayer ()
 
void TimeAveragedValuesSimulationObserver::calculateAverageValuesForPlane (std::vector< IntegrateValuesHelper::CalcNodes > &cnodes)
 
 TimeDependentBCSimulationObserver::TimeDependentBCSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s)
 
 TimeDependentBCSimulationObserver::~TimeDependentBCSimulationObserver () override
 
void TimeDependentBCSimulationObserver::update (real step) override
 Updates observer.
 
void TimeDependentBCSimulationObserver::addInteractor (SPtr< Interactor3D > interactor)
 add interactors to SimulationObserver
 
 TimeseriesSimulationObserver::TimeseriesSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, SPtr< IntegrateValuesHelper > h1, const std::string &path, std::shared_ptr< vf::parallel::Communicator > comm)
 
 TimeseriesSimulationObserver::~TimeseriesSimulationObserver () override
 
void TimeseriesSimulationObserver::update (real step) override
 calls collectData.
 
void TimeseriesSimulationObserver::collectData (real step)
 
 TurbulenceIntensitySimulationObserver::TurbulenceIntensitySimulationObserver (SPtr< Grid3D > grid, const std::string &path, WbWriter *const writer, SPtr< UbScheduler > s, std::shared_ptr< vf::parallel::Communicator > comm)
 
void TurbulenceIntensitySimulationObserver::update (real step) override
 Updates observer.
 
void TurbulenceIntensitySimulationObserver::collectData (real step)
 
void TurbulenceIntensitySimulationObserver::clearData ()
 
void TurbulenceIntensitySimulationObserver::addData (const SPtr< Block3D > block)
 
void TurbulenceIntensitySimulationObserver::calculateAverageValues (real timeStep)
 
 WriteBlocksSimulationObserver::WriteBlocksSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, WbWriter *const writer, std::shared_ptr< vf::parallel::Communicator > comm)
 Construct WriteBlocksSimulationObserver object.
 
 WriteBlocksSimulationObserver::~WriteBlocksSimulationObserver () override
 
void WriteBlocksSimulationObserver::update (real step) override
 Updates observer.
 
void WriteBlocksSimulationObserver::collectData (real step)
 
 WriteBoundaryConditionsSimulationObserver::WriteBoundaryConditionsSimulationObserver ()
 
 WriteBoundaryConditionsSimulationObserver::WriteBoundaryConditionsSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, WbWriter *const writer, std::shared_ptr< vf::parallel::Communicator > comm)
 Construct WriteBoundaryConditionsSimulationObserver object.
 
void WriteBoundaryConditionsSimulationObserver::update (real step) override
 Updates observer.
 
void WriteBoundaryConditionsSimulationObserver::collectData (real step)
 
void WriteBoundaryConditionsSimulationObserver::clearData ()
 
void WriteBoundaryConditionsSimulationObserver::addDataGeo (SPtr< Block3D > block)
 
 WriteGbObjectsSimulationObserver::WriteGbObjectsSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, WbWriter *const writer, std::shared_ptr< vf::parallel::Communicator > comm)
 
 WriteGbObjectsSimulationObserver::~WriteGbObjectsSimulationObserver () override
 
void WriteGbObjectsSimulationObserver::update (real step) override
 calls collectData.
 
void WriteGbObjectsSimulationObserver::addGbObject (SPtr< GbObject3D > object)
 adds geometry object
 
void WriteGbObjectsSimulationObserver::collectData (real step)
 
 WriteMacroscopicQuantitiesSimulationObserver::WriteMacroscopicQuantitiesSimulationObserver ()
 
 WriteMacroscopicQuantitiesSimulationObserver::WriteMacroscopicQuantitiesSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, const std::string &path, WbWriter *const writer, SPtr< LBMUnitConverter > conv, std::shared_ptr< vf::parallel::Communicator > comm)
 Construct WriteMacroscopicQuantitiesSimulationObserver object.
 
void WriteMacroscopicQuantitiesSimulationObserver::update (real step) override
 Updates observer.
 
void WriteMacroscopicQuantitiesSimulationObserver::collectData (real step)
 
void WriteMacroscopicQuantitiesSimulationObserver::clearData ()
 
void WriteMacroscopicQuantitiesSimulationObserver::addDataMQ (SPtr< Block3D > block)
 
 WriteMQFromSelectionSimulationObserver::WriteMQFromSelectionSimulationObserver ()
 
 WriteMQFromSelectionSimulationObserver::WriteMQFromSelectionSimulationObserver (SPtr< Grid3D > grid, SPtr< UbScheduler > s, SPtr< GbObject3D > gbObject, const std::string &path, WbWriter *const writer, SPtr< LBMUnitConverter > conv, std::shared_ptr< vf::parallel::Communicator > comm)
 
void WriteMQFromSelectionSimulationObserver::update (real step) override
 Updates observer.
 
void WriteMQFromSelectionSimulationObserver::collectData (real step)
 
void WriteMQFromSelectionSimulationObserver::clearData ()
 
void WriteMQFromSelectionSimulationObserver::addDataMQ (SPtr< Block3D > block)
 

Detailed Description

Author
Konstantin Kutscher
Sonja Uphoff
Sören Peters, Konstantin Kutscher, Martin Geier
Sören Peters
Alena Karanchuk
Konstantin Kutscher, S. Uphoff, M. Geier, E. Goraki Fard

Macro Definition Documentation

◆ _MPIIOSimulationObserver_H_

#define _MPIIOSimulationObserver_H_

Definition at line 77 of file MPIIOSimulationObserver.h.

◆ BLOCK_SIZE

#define BLOCK_SIZE   1024

BLOCK_SIZE defines the quantity of the BoundaryCondition-structures written as one block to the file To avoid overflow in the parameter count of the function MPI_File_write_at structures BoundaryCondition are being written in blocks containing each of them BLOCK_SIZE structures

Definition at line 57 of file MPIIORestartSimulationObserver.cpp.

◆ MESSAGE_TAG

#define MESSAGE_TAG   80

Definition at line 59 of file MPIIOMigrationBESimulationObserver.cpp.

◆ SEND_BLOCK_SIZE

#define SEND_BLOCK_SIZE   100000

Definition at line 60 of file MPIIOMigrationBESimulationObserver.cpp.

Function Documentation

◆ addData() [1/5]

void ShearStressSimulationObserver::addData ( )
protected

prepare data

Definition at line 268 of file ShearStressSimulationObserver.cpp.

◆ addData() [2/5]

void AverageValuesSimulationObserver::addData ( const SPtr< Block3D block)
protected

prepare data

Definition at line 254 of file AverageValuesSimulationObserver.cpp.

◆ addData() [3/5]

void QCriterionSimulationObserver::addData ( const SPtr< Block3D block)
protected

Q is computed for all points in a block. Data for writing is added to data and cell vectors.

Definition at line 123 of file QCriterionSimulationObserver.cpp.

◆ addData() [4/5]

void TimeAveragedValuesSimulationObserver::addData ( const SPtr< Block3D block)
protected

prepare data

Definition at line 226 of file TimeAveragedValuesSimulationObserver.cpp.

◆ addData() [5/5]

void TurbulenceIntensitySimulationObserver::addData ( const SPtr< Block3D block)
protected

Definition at line 131 of file TurbulenceIntensitySimulationObserver.cpp.

◆ addDataGeo()

void WriteBoundaryConditionsSimulationObserver::addDataGeo ( SPtr< Block3D block)
protected

◆ addDataMQ() [1/2]

void WriteMacroscopicQuantitiesSimulationObserver::addDataMQ ( SPtr< Block3D block)
protected

Collect data for VTK-file

Parameters
blockis a time step

Definition at line 145 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.

◆ addDataMQ() [2/2]

void WriteMQFromSelectionSimulationObserver::addDataMQ ( SPtr< Block3D block)
protected

Definition at line 144 of file WriteMQFromSelectionSimulationObserver.cpp.

◆ addGbObject()

void WriteGbObjectsSimulationObserver::addGbObject ( SPtr< GbObject3D object)

adds geometry object

Definition at line 56 of file WriteGbObjectsSimulationObserver.cpp.

◆ addInteractor() [1/4]

void CalculateForcesSimulationObserver::addInteractor ( SPtr< D3Q27Interactor interactor)

Definition at line 206 of file CalculateForcesSimulationObserver.cpp.

◆ addInteractor() [2/4]

void PressureCoefficientSimulationObserver::addInteractor ( SPtr< D3Q27Interactor interactor)

Definition at line 239 of file PressureCoefficientSimulationObserver.cpp.

◆ addInteractor() [3/4]

void ShearStressSimulationObserver::addInteractor ( SPtr< D3Q27Interactor interactor)

Definition at line 444 of file ShearStressSimulationObserver.cpp.

◆ addInteractor() [4/4]

void TimeDependentBCSimulationObserver::addInteractor ( SPtr< Interactor3D interactor)

add interactors to SimulationObserver

Definition at line 53 of file TimeDependentBCSimulationObserver.cpp.

◆ addMicrophone()

bool MicrophoneArraySimulationObserver::addMicrophone ( GbVector3D  coords)

add microphone

Definition at line 69 of file MicrophoneArraySimulationObserver.cpp.

◆ AdjustForcingSimulationObserver()

AdjustForcingSimulationObserver::AdjustForcingSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
SPtr< IntegrateValuesHelper integrateValues,
real  vTarged,
std::shared_ptr< vf::parallel::Communicator comm 
)

calls collect PostprocessData

Definition at line 44 of file AdjustForcingSimulationObserver.cpp.

◆ AverageValuesSimulationObserver() [1/2]

AverageValuesSimulationObserver::AverageValuesSimulationObserver ( )
default

◆ AverageValuesSimulationObserver() [2/2]

AverageValuesSimulationObserver::AverageValuesSimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
SPtr< UbScheduler Avs,
SPtr< UbScheduler rsMeans,
SPtr< UbScheduler rsRMS,
bool  restart 
)

Definition at line 53 of file AverageValuesSimulationObserver.cpp.

◆ blocksExchange()

void MPIIOMigrationBESimulationObserver::blocksExchange ( int  tagN,
int  ind1,
int  ind2,
int  doubleCountInBlock,
std::vector< real > &  pV,
std::vector< real > *  rawDataReceive 
)

Definition at line 883 of file MPIIOMigrationBESimulationObserver.cpp.

◆ calculateAV()

void IntegrateValuesHelper::calculateAV ( )

Definition at line 151 of file IntegrateValuesHelper.cpp.

◆ calculateAverageValues() [1/3]

void AverageValuesSimulationObserver::calculateAverageValues ( real  timeStep)
protected

Computes average and RMS values of macroscopic quantities.

Definition at line 370 of file AverageValuesSimulationObserver.cpp.

◆ calculateAverageValues() [2/3]

void TimeAveragedValuesSimulationObserver::calculateAverageValues ( real  timeStep)
protected

Computes average values of velocity , fluctuations and triple correlations.

Definition at line 388 of file TimeAveragedValuesSimulationObserver.cpp.

◆ calculateAverageValues() [3/3]

void TurbulenceIntensitySimulationObserver::calculateAverageValues ( real  timeStep)
protected

Definition at line 215 of file TurbulenceIntensitySimulationObserver.cpp.

◆ calculateAverageValuesForPlane()

void TimeAveragedValuesSimulationObserver::calculateAverageValuesForPlane ( std::vector< IntegrateValuesHelper::CalcNodes > &  cnodes)
protected

Definition at line 777 of file TimeAveragedValuesSimulationObserver.cpp.

◆ calculateCoefficients()

void CalculateForcesSimulationObserver::calculateCoefficients ( )
protected

Definition at line 192 of file CalculateForcesSimulationObserver.cpp.

◆ calculateForces() [1/2]

void CalculateForcesSimulationObserver::calculateForces ( )
protected

Definition at line 110 of file CalculateForcesSimulationObserver.cpp.

◆ calculateForces() [2/2]

void ForceCalculator::calculateForces ( std::vector< std::shared_ptr< D3Q27Interactor > >  interactors)

Definition at line 159 of file ForceCalculator.cpp.

◆ CalculateForcesSimulationObserver()

CalculateForcesSimulationObserver::CalculateForcesSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm,
real  v,
real  a 
)

Constructor

Parameters
v- velocity of fluid in LB units
a- area of object in LB units

Definition at line 50 of file CalculateForcesSimulationObserver.cpp.

◆ calculateMQ()

void IntegrateValuesHelper::calculateMQ ( )

Definition at line 208 of file IntegrateValuesHelper.cpp.

◆ calculateRho()

void PressureCoefficientSimulationObserver::calculateRho ( )
protected

Definition at line 76 of file PressureCoefficientSimulationObserver.cpp.

◆ calculateShearStress()

void ShearStressSimulationObserver::calculateShearStress ( real  timeStep)
protected

Computes average and shear stress values of macroscopic quantities.

Definition at line 158 of file ShearStressSimulationObserver.cpp.

◆ calculateSubtotal()

void TimeAveragedValuesSimulationObserver::calculateSubtotal ( real  step)

Computes subtotal of velocity , fluctuations and triple correlations.

Definition at line 501 of file TimeAveragedValuesSimulationObserver.cpp.

◆ checkMetafile()

void EmergencyExitSimulationObserver::checkMetafile ( )
protected

Definition at line 89 of file EmergencyExitSimulationObserver.cpp.

◆ checkUndefindedNodes()

bool ShearStressSimulationObserver::checkUndefindedNodes ( SPtr< BCArray3D bcArray,
int  ix1,
int  ix2,
int  ix3 
)
protected

Definition at line 865 of file ShearStressSimulationObserver.cpp.

◆ clearAllFiles() [1/4]

void MPIIOMigrationBESimulationObserver::clearAllFiles ( int  step)

The function truncates the data files.

Definition at line 97 of file MPIIOMigrationBESimulationObserver.cpp.

◆ clearAllFiles() [2/4]

void MPIIOMigrationSimulationObserver::clearAllFiles ( int  step)

The function truncates the data files.

Definition at line 126 of file MPIIOMigrationSimulationObserver.cpp.

◆ clearAllFiles() [3/4]

void MPIIORestartSimulationObserver::clearAllFiles ( int  step)

The function truncates the data files.

Definition at line 134 of file MPIIORestartSimulationObserver.cpp.

◆ clearAllFiles() [4/4]

void MPIIOSimulationObserver::clearAllFiles ( int  step)

The function truncates the data files.

Definition at line 401 of file MPIIOSimulationObserver.cpp.

◆ clearData() [1/9]

void AverageValuesSimulationObserver::clearData ( )
protected

Definition at line 246 of file AverageValuesSimulationObserver.cpp.

◆ clearData() [2/9]

void IntegrateValuesHelper::clearData ( )

Definition at line 268 of file IntegrateValuesHelper.cpp.

◆ clearData() [3/9]

void QCriterionSimulationObserver::clearData ( )
protected

After writing to .vtk-file, all vectors are reset.

Definition at line 115 of file QCriterionSimulationObserver.cpp.

◆ clearData() [4/9]

void ShearStressSimulationObserver::clearData ( )
protected

Definition at line 151 of file ShearStressSimulationObserver.cpp.

◆ clearData() [5/9]

void TimeAveragedValuesSimulationObserver::clearData ( )
protected

Definition at line 218 of file TimeAveragedValuesSimulationObserver.cpp.

◆ clearData() [6/9]

void TurbulenceIntensitySimulationObserver::clearData ( )
protected

Definition at line 123 of file TurbulenceIntensitySimulationObserver.cpp.

◆ clearData() [7/9]

void WriteBoundaryConditionsSimulationObserver::clearData ( )
protected

◆ clearData() [8/9]

void WriteMacroscopicQuantitiesSimulationObserver::clearData ( )
protected

◆ clearData() [9/9]

void WriteMQFromSelectionSimulationObserver::clearData ( )
protected

Definition at line 137 of file WriteMQFromSelectionSimulationObserver.cpp.

◆ collectData() [1/19]

void LineTimeSeriesSimulationObserver::collectData ( )
protected

Definition at line 122 of file LineTimeSeriesSimulationObserver.cpp.

◆ collectData() [2/19]

void AdjustForcingSimulationObserver::collectData ( real  step)
protected

Definition at line 111 of file AdjustForcingSimulationObserver.cpp.

◆ collectData() [3/19]

void AverageValuesSimulationObserver::collectData ( real  step)
protected

Prepare data and write in .vtk file.

Definition at line 201 of file AverageValuesSimulationObserver.cpp.

◆ collectData() [4/19]

void CalculateForcesSimulationObserver::collectData ( real  step)
protected

Definition at line 83 of file CalculateForcesSimulationObserver.cpp.

◆ collectData() [5/19]

void EmergencyExitSimulationObserver::collectData ( real  step)
protected

Definition at line 66 of file EmergencyExitSimulationObserver.cpp.

◆ collectData() [6/19]

void MicrophoneArraySimulationObserver::collectData ( real  step)
protected

Definition at line 124 of file MicrophoneArraySimulationObserver.cpp.

◆ collectData() [7/19]

void NUPSCounterSimulationObserver::collectData ( real  step)
protected

Collect data for calculation of NUPS

Parameters
stepis a time step

Definition at line 76 of file NUPSCounterSimulationObserver.cpp.

◆ collectData() [8/19]

void PressureCoefficientSimulationObserver::collectData ( real  step)
protected

Definition at line 67 of file PressureCoefficientSimulationObserver.cpp.

◆ collectData() [9/19]

void PressureDifferenceSimulationObserver::collectData ( real  step)
protected

Definition at line 109 of file PressureDifferenceSimulationObserver.cpp.

◆ collectData() [10/19]

void QCriterionSimulationObserver::collectData ( real  step)
protected

Prepare data and write in .vtk file.

Definition at line 76 of file QCriterionSimulationObserver.cpp.

◆ collectData() [11/19]

void ShearStressSimulationObserver::collectData ( real  step)
protected

Prepare data and write in .vtk file.

Definition at line 85 of file ShearStressSimulationObserver.cpp.

◆ collectData() [12/19]

void TimeAveragedValuesSimulationObserver::collectData ( real  step)
protected

Prepare data and write in .vtk file.

Definition at line 185 of file TimeAveragedValuesSimulationObserver.cpp.

◆ collectData() [13/19]

void TimeseriesSimulationObserver::collectData ( real  step)
protected

Definition at line 79 of file TimeseriesSimulationObserver.cpp.

◆ collectData() [14/19]

void TurbulenceIntensitySimulationObserver::collectData ( real  step)
protected

Definition at line 86 of file TurbulenceIntensitySimulationObserver.cpp.

◆ collectData() [15/19]

void WriteBlocksSimulationObserver::collectData ( real  step)
protected

Collect data for VTK-file

Parameters
stepis a time step

Definition at line 59 of file WriteBlocksSimulationObserver.cpp.

◆ collectData() [16/19]

void WriteBoundaryConditionsSimulationObserver::collectData ( real  step)
protected

Collect data for VTK-file

Parameters
stepis a time step

Definition at line 81 of file WriteBoundaryConditionsSimulationObserver.cpp.

◆ collectData() [17/19]

void WriteGbObjectsSimulationObserver::collectData ( real  step)
protected

Definition at line 58 of file WriteGbObjectsSimulationObserver.cpp.

◆ collectData() [18/19]

void WriteMacroscopicQuantitiesSimulationObserver::collectData ( real  step)
protected

Collect data for VTK-file

Parameters
stepis a time step

Definition at line 85 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.

◆ collectData() [19/19]

void WriteMQFromSelectionSimulationObserver::collectData ( real  step)
protected

Definition at line 79 of file WriteMQFromSelectionSimulationObserver.cpp.

◆ computeVelocity()

void QCriterionSimulationObserver::computeVelocity ( real f,
real v,
bool  compressible 
)
protected

Computes macroscopic velocities.

Definition at line 383 of file QCriterionSimulationObserver.cpp.

◆ DecreaseViscositySimulationObserver()

DecreaseViscositySimulationObserver::DecreaseViscositySimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
mu::Parser *  nueFunc,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 46 of file DecreaseViscositySimulationObserver.cpp.

◆ EmergencyExitSimulationObserver()

EmergencyExitSimulationObserver::EmergencyExitSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
SPtr< MPIIORestartSimulationObserver rp,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 43 of file EmergencyExitSimulationObserver.cpp.

◆ findPlane()

void ShearStressSimulationObserver::findPlane ( int  ix1,
int  ix2,
int  ix3,
SPtr< Grid3D grid,
SPtr< Block3D block,
real A,
real B,
real C,
real D,
real ii 
)
protected

Definition at line 446 of file ShearStressSimulationObserver.cpp.

◆ ForceCalculator()

ForceCalculator::ForceCalculator ( std::shared_ptr< vf::parallel::Communicator comm)

Definition at line 48 of file ForceCalculator.cpp.

◆ getBoundingBox()

GbCuboid3DPtr IntegrateValuesHelper::getBoundingBox ( )

Definition at line 293 of file IntegrateValuesHelper.cpp.

◆ getCNodes()

std::vector< IntegrateValuesHelper::CalcNodes > IntegrateValuesHelper::getCNodes ( )

Definition at line 295 of file IntegrateValuesHelper.cpp.

◆ getForces()

std::array< real, 3 > ForceCalculator::getForces ( int  x1,
int  x2,
int  x3,
std::shared_ptr< DistributionArray3D distributions,
std::shared_ptr< BoundaryConditions bc 
) const

Definition at line 56 of file ForceCalculator.cpp.

◆ getForcesForDEM()

std::array< real, 3 > ForceCalculator::getForcesForDEM ( int  x1,
int  x2,
int  x3,
std::shared_ptr< DistributionArray3D distributions,
std::shared_ptr< BoundaryConditions bc,
const std::array< real, 3 > &  boundaryVelocity 
) const

Definition at line 86 of file ForceCalculator.cpp.

◆ getForcesGalileanInvariantMomentumExchange()

std::array< real, 3 > ForceCalculator::getForcesGalileanInvariantMomentumExchange ( int  x1,
int  x2,
int  x3,
std::shared_ptr< DistributionArray3D distributions,
std::shared_ptr< BoundaryConditions bc 
) const

Definition at line 120 of file ForceCalculator.cpp.

◆ getGlobalForces()

std::array< real, 3 > ForceCalculator::getGlobalForces ( ) const

Definition at line 235 of file ForceCalculator.cpp.

◆ getNeighborVelocities()

void QCriterionSimulationObserver::getNeighborVelocities ( int  offx,
int  offy,
int  offz,
int  ix1,
int  ix2,
int  ix3,
const SPtr< Block3D block,
real vE,
real vW 
)
protected

Computes average and RMS values of macroscopic quantities.

Definition at line 238 of file QCriterionSimulationObserver.cpp.

◆ getNumberOfFluidsNodes()

real IntegrateValuesHelper::getNumberOfFluidsNodes ( )

Definition at line 289 of file IntegrateValuesHelper.cpp.

◆ getNumberOfSolidNodes()

real IntegrateValuesHelper::getNumberOfSolidNodes ( )

Definition at line 291 of file IntegrateValuesHelper.cpp.

◆ getWithGhostLayer()

bool TimeAveragedValuesSimulationObserver::getWithGhostLayer ( )

Definition at line 775 of file TimeAveragedValuesSimulationObserver.cpp.

◆ init()

void TimeAveragedValuesSimulationObserver::init ( )
protected

Definition at line 72 of file TimeAveragedValuesSimulationObserver.cpp.

◆ initData()

void TimeAveragedValuesSimulationObserver::initData ( )
protected

Definition at line 111 of file TimeAveragedValuesSimulationObserver.cpp.

◆ initDistance()

void ShearStressSimulationObserver::initDistance ( )
protected

distance point to plane xp-Xw=distance

Definition at line 878 of file ShearStressSimulationObserver.cpp.

◆ IntegrateValuesHelper() [1/2]

IntegrateValuesHelper::IntegrateValuesHelper ( SPtr< Grid3D grid,
std::shared_ptr< vf::parallel::Communicator comm,
real  minX1,
real  minX2,
real  minX3,
real  maxX1,
real  maxX2,
real  maxX3 
)

Definition at line 46 of file IntegrateValuesHelper.cpp.

◆ IntegrateValuesHelper() [2/2]

IntegrateValuesHelper::IntegrateValuesHelper ( SPtr< Grid3D grid,
std::shared_ptr< vf::parallel::Communicator comm,
real  minX1,
real  minX2,
real  minX3,
real  maxX1,
real  maxX2,
real  maxX3,
int  level 
)

Definition at line 57 of file IntegrateValuesHelper.cpp.

◆ LineTimeSeriesSimulationObserver()

LineTimeSeriesSimulationObserver::LineTimeSeriesSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
SPtr< GbLine3D line,
int  level,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 48 of file LineTimeSeriesSimulationObserver.cpp.

◆ MicrophoneArraySimulationObserver()

MicrophoneArraySimulationObserver::MicrophoneArraySimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 47 of file MicrophoneArraySimulationObserver.cpp.

◆ MPIIOMigrationBESimulationObserver()

MPIIOMigrationBESimulationObserver::MPIIOMigrationBESimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
SPtr< Grid3DVisitor mV,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 62 of file MPIIOMigrationBESimulationObserver.cpp.

◆ MPIIOMigrationSimulationObserver()

MPIIOMigrationSimulationObserver::MPIIOMigrationSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
SPtr< Grid3DVisitor mV,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 58 of file MPIIOMigrationSimulationObserver.cpp.

◆ MPIIORestartSimulationObserver()

MPIIORestartSimulationObserver::MPIIORestartSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 61 of file MPIIORestartSimulationObserver.cpp.

◆ MPIIOSimulationObserver()

MPIIOSimulationObserver::MPIIOSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 48 of file MPIIOSimulationObserver.cpp.

◆ NUPSCounterSimulationObserver()

NUPSCounterSimulationObserver::NUPSCounterSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
int  numOfThreads,
std::shared_ptr< vf::parallel::Communicator comm 
)

Construct NUPSCounterSimulationObserver object for grid object and scheduler object.

Precondition
The Grid3D and UbScheduler objects must exist.
Parameters
gridis observable Grid3D object
sis UbScheduler object for scheduling of observer
numOfThreadsis number of threads
commis Communicator object

Definition at line 46 of file NUPSCounterSimulationObserver.cpp.

◆ planarAverage()

void TimeAveragedValuesSimulationObserver::planarAverage ( real  step)
protected

Definition at line 612 of file TimeAveragedValuesSimulationObserver.cpp.

◆ PressureCoefficientSimulationObserver()

PressureCoefficientSimulationObserver::PressureCoefficientSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
SPtr< GbCuboid3D plane,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 48 of file PressureCoefficientSimulationObserver.cpp.

◆ PressureDifferenceSimulationObserver()

PressureDifferenceSimulationObserver::PressureDifferenceSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
SPtr< IntegrateValuesHelper h1,
SPtr< IntegrateValuesHelper h2,
real  rhoReal,
real  uReal,
real  uLB,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 45 of file PressureDifferenceSimulationObserver.cpp.

◆ QCriterionSimulationObserver()

QCriterionSimulationObserver::QCriterionSimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 46 of file QCriterionSimulationObserver.cpp.

◆ readArray() [1/3]

void MPIIOMigrationBESimulationObserver::readArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 1320 of file MPIIOMigrationBESimulationObserver.cpp.

◆ readArray() [2/3]

void MPIIOMigrationSimulationObserver::readArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 1232 of file MPIIOMigrationSimulationObserver.cpp.

◆ readArray() [3/3]

void MPIIORestartSimulationObserver::readArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 1277 of file MPIIORestartSimulationObserver.cpp.

◆ readBlocks() [1/4]

void MPIIOMigrationBESimulationObserver::readBlocks ( int  step)

Reads the blocks of the grid from the file cpBlocks.bin.

Definition at line 881 of file MPIIOMigrationBESimulationObserver.cpp.

◆ readBlocks() [2/4]

void MPIIOMigrationSimulationObserver::readBlocks ( int  step)

Reads the blocks of the grid from the file cpBlocks.bin.

Definition at line 946 of file MPIIOMigrationSimulationObserver.cpp.

◆ readBlocks() [3/4]

void MPIIORestartSimulationObserver::readBlocks ( int  step)

Reads the blocks of the grid from the file cpBlocks.bin.

Definition at line 1019 of file MPIIORestartSimulationObserver.cpp.

◆ readBlocks() [4/4]

void MPIIOSimulationObserver::readBlocks ( int  step)

Reads the blocks of the grid from the file cpBlocks.bin.

Definition at line 266 of file MPIIOSimulationObserver.cpp.

◆ readBoundaryConds() [1/3]

void MPIIOMigrationBESimulationObserver::readBoundaryConds ( int  step)

Reads the boundary conditions of the blocks from the file cpBC.bin.

Definition at line 1481 of file MPIIOMigrationBESimulationObserver.cpp.

◆ readBoundaryConds() [2/3]

void MPIIOMigrationSimulationObserver::readBoundaryConds ( int  step)

Reads the boundary conditions of the blocks from the file cpBC.bin.

Definition at line 1383 of file MPIIOMigrationSimulationObserver.cpp.

◆ readBoundaryConds() [3/3]

void MPIIORestartSimulationObserver::readBoundaryConds ( int  step)

Reads the boundary conditions of the blocks from the file cpBC.bin.

Definition at line 1431 of file MPIIORestartSimulationObserver.cpp.

◆ readCpTimeStep()

int MPIIOSimulationObserver::readCpTimeStep ( )

The function read a time step of last check point.

Definition at line 524 of file MPIIOSimulationObserver.cpp.

◆ readDataSet() [1/3]

void MPIIOMigrationBESimulationObserver::readDataSet ( int  step)

Reads the datasets of the blocks from the file cpDataSet.bin.

Definition at line 1016 of file MPIIOMigrationBESimulationObserver.cpp.

◆ readDataSet() [2/3]

void MPIIOMigrationSimulationObserver::readDataSet ( int  step)

Reads the datasets of the blocks from the file cpDataSet.bin.

Definition at line 948 of file MPIIOMigrationSimulationObserver.cpp.

◆ readDataSet() [3/3]

void MPIIORestartSimulationObserver::readDataSet ( int  step)

Reads the datasets of the blocks from the file cpDataSet.bin.

Definition at line 1021 of file MPIIORestartSimulationObserver.cpp.

◆ readMetafile()

bool EmergencyExitSimulationObserver::readMetafile ( )
protected

Definition at line 83 of file EmergencyExitSimulationObserver.cpp.

◆ readValues()

void PressureCoefficientSimulationObserver::readValues ( int  step)

Definition at line 215 of file PressureCoefficientSimulationObserver.cpp.

◆ reset() [1/2]

void TimeAveragedValuesSimulationObserver::reset ( )

Definition at line 735 of file TimeAveragedValuesSimulationObserver.cpp.

◆ reset() [2/2]

void ShearStressSimulationObserver::reset ( real  step)
protected

Definition at line 384 of file ShearStressSimulationObserver.cpp.

◆ resetData()

void ShearStressSimulationObserver::resetData ( real  step)
protected

Reset data.

Definition at line 392 of file ShearStressSimulationObserver.cpp.

◆ resetDataMeans()

void AverageValuesSimulationObserver::resetDataMeans ( real  step)
protected

Definition at line 158 of file AverageValuesSimulationObserver.cpp.

◆ resetDataRMS()

void AverageValuesSimulationObserver::resetDataRMS ( real  step)
protected

Reset data.

Definition at line 112 of file AverageValuesSimulationObserver.cpp.

◆ restart() [1/3]

void MPIIOMigrationBESimulationObserver::restart ( int  step)

Reads the grid from the files before grid reconstruction.

Definition at line 863 of file MPIIOMigrationBESimulationObserver.cpp.

◆ restart() [2/3]

void MPIIOMigrationSimulationObserver::restart ( int  step)

Reads the grid from the files before grid reconstruction.

Definition at line 926 of file MPIIOMigrationSimulationObserver.cpp.

◆ restart() [3/3]

void MPIIORestartSimulationObserver::restart ( int  step)

Reads the grid from the files before grid reconstruction.

Definition at line 1002 of file MPIIORestartSimulationObserver.cpp.

◆ setBCSet() [1/3]

void MPIIOMigrationBESimulationObserver::setBCSet ( SPtr< BCSet BCSet)

The function sets BCSet.

Definition at line 1735 of file MPIIOMigrationBESimulationObserver.cpp.

◆ setBCSet() [2/3]

void MPIIOMigrationSimulationObserver::setBCSet ( SPtr< BCSet BCSet)

The function sets BCSet.

Definition at line 1543 of file MPIIOMigrationSimulationObserver.cpp.

◆ setBCSet() [3/3]

void MPIIORestartSimulationObserver::setBCSet ( SPtr< BCSet BCSet)

The function sets BCSet.

Definition at line 1593 of file MPIIORestartSimulationObserver.cpp.

◆ setDensityRatio()

void MPIIOMigrationBESimulationObserver::setDensityRatio ( real  dr)

Definition at line 1741 of file MPIIOMigrationBESimulationObserver.cpp.

◆ setLBMKernel() [1/3]

void MPIIOMigrationBESimulationObserver::setLBMKernel ( SPtr< LBMKernel kernel)

The function sets LBMKernel.

Definition at line 1733 of file MPIIOMigrationBESimulationObserver.cpp.

◆ setLBMKernel() [2/3]

void MPIIOMigrationSimulationObserver::setLBMKernel ( SPtr< LBMKernel kernel)

The function sets LBMKernel.

Definition at line 1541 of file MPIIOMigrationSimulationObserver.cpp.

◆ setLBMKernel() [3/3]

void MPIIORestartSimulationObserver::setLBMKernel ( SPtr< LBMKernel kernel)

The function sets LBMKernel.

Definition at line 1591 of file MPIIORestartSimulationObserver.cpp.

◆ setNu()

void MPIIOMigrationBESimulationObserver::setNu ( real  nu)

Definition at line 1737 of file MPIIOMigrationBESimulationObserver.cpp.

◆ setNuLG()

void MPIIOMigrationBESimulationObserver::setNuLG ( real  cfL,
real  cfG 
)

Definition at line 1739 of file MPIIOMigrationBESimulationObserver.cpp.

◆ setViscosity()

void DecreaseViscositySimulationObserver::setViscosity ( real  step)
protected

resets the collision factor depending on the current timestep.

Definition at line 63 of file DecreaseViscositySimulationObserver.cpp.

◆ setWithGhostLayer()

void TimeAveragedValuesSimulationObserver::setWithGhostLayer ( bool  val)

Definition at line 764 of file TimeAveragedValuesSimulationObserver.cpp.

◆ ShearStressSimulationObserver()

ShearStressSimulationObserver::ShearStressSimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
SPtr< UbScheduler rs 
)

Constructor.

Definition at line 48 of file ShearStressSimulationObserver.cpp.

◆ SimulationObserver() [1/2]

SimulationObserver::SimulationObserver ( )
default

Class default constructor.

◆ SimulationObserver() [2/2]

SimulationObserver::SimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s 
)

Construct SimulationObserver object for grid object and scheduler object.

Precondition
The Grid3D and UbScheduler objects must exist.
Parameters
gridis observable Grid3D object
sis UbScheduler object for scheduling of observer

Class SimulationObserver implements the observer design pettern. SimulationObserver object is observer. Grid3D object is observable.

Definition at line 42 of file SimulationObserver.cpp.

◆ TimeAveragedValuesSimulationObserver() [1/3]

TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver ( )
default

◆ TimeAveragedValuesSimulationObserver() [2/3]

TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
std::shared_ptr< vf::parallel::Communicator comm,
int  options 
)

Definition at line 50 of file TimeAveragedValuesSimulationObserver.cpp.

◆ TimeAveragedValuesSimulationObserver() [3/3]

TimeAveragedValuesSimulationObserver::TimeAveragedValuesSimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
std::shared_ptr< vf::parallel::Communicator comm,
int  options,
std::vector< int levels,
std::vector< real > &  levelCoords,
std::vector< real > &  bounds,
bool  timeAveraging = true 
)

Definition at line 60 of file TimeAveragedValuesSimulationObserver.cpp.

◆ TimeDependentBCSimulationObserver()

TimeDependentBCSimulationObserver::TimeDependentBCSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s 
)

Definition at line 40 of file TimeDependentBCSimulationObserver.cpp.

◆ TimeseriesSimulationObserver()

TimeseriesSimulationObserver::TimeseriesSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
SPtr< IntegrateValuesHelper h1,
const std::string &  path,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 45 of file TimeseriesSimulationObserver.cpp.

◆ TurbulenceIntensitySimulationObserver()

TurbulenceIntensitySimulationObserver::TurbulenceIntensitySimulationObserver ( SPtr< Grid3D grid,
const std::string &  path,
WbWriter *const  writer,
SPtr< UbScheduler s,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 48 of file TurbulenceIntensitySimulationObserver.cpp.

◆ update() [1/24]

void AdjustForcingSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 105 of file AdjustForcingSimulationObserver.cpp.

◆ update() [2/24]

void AverageValuesSimulationObserver::update ( real  step)
overridevirtual

Make update.

Implements SimulationObserver.

Definition at line 90 of file AverageValuesSimulationObserver.cpp.

◆ update() [3/24]

void CalculateForcesSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 75 of file CalculateForcesSimulationObserver.cpp.

◆ update() [4/24]

void DecreaseViscositySimulationObserver::update ( real  step)
overridevirtual

calls collect PostprocessData.

Implements SimulationObserver.

Definition at line 57 of file DecreaseViscositySimulationObserver.cpp.

◆ update() [5/24]

void EmergencyExitSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 58 of file EmergencyExitSimulationObserver.cpp.

◆ update() [6/24]

void LineTimeSeriesSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 97 of file LineTimeSeriesSimulationObserver.cpp.

◆ update() [7/24]

void MicrophoneArraySimulationObserver::update ( real  step)
overridevirtual

calls collectData.

Implements SimulationObserver.

Definition at line 57 of file MicrophoneArraySimulationObserver.cpp.

◆ update() [8/24]

void MPIIOMigrationBESimulationObserver::update ( real  step)
overridevirtual

Each timestep writes the grid into the files.

Implements MPIIOSimulationObserver.

Definition at line 77 of file MPIIOMigrationBESimulationObserver.cpp.

◆ update() [9/24]

void MPIIOMigrationSimulationObserver::update ( real  step)
overridevirtual

Each timestep writes the grid into the files.

Implements MPIIOSimulationObserver.

Definition at line 105 of file MPIIOMigrationSimulationObserver.cpp.

◆ update() [10/24]

void MPIIORestartSimulationObserver::update ( real  step)
overridevirtual

Each timestep writes the grid into the files.

Implements MPIIOSimulationObserver.

Definition at line 113 of file MPIIORestartSimulationObserver.cpp.

◆ update() [11/24]

void NUPSCounterSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 70 of file NUPSCounterSimulationObserver.cpp.

◆ update() [12/24]

void PressureCoefficientSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 59 of file PressureCoefficientSimulationObserver.cpp.

◆ update() [13/24]

void PressureDifferenceSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 103 of file PressureDifferenceSimulationObserver.cpp.

◆ update() [14/24]

void QCriterionSimulationObserver::update ( real  step)
overridevirtual

Make update if timestep is write-timestep specified in SPtr<UbScheduler> s.

Implements SimulationObserver.

Definition at line 68 of file QCriterionSimulationObserver.cpp.

◆ update() [15/24]

void ShearStressSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 74 of file ShearStressSimulationObserver.cpp.

◆ update() [16/24]

void TimeAveragedValuesSimulationObserver::update ( real  step)
overridevirtual

Make update.

Implements SimulationObserver.

Definition at line 152 of file TimeAveragedValuesSimulationObserver.cpp.

◆ update() [17/24]

void TimeDependentBCSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 44 of file TimeDependentBCSimulationObserver.cpp.

◆ update() [18/24]

void TimeseriesSimulationObserver::update ( real  step)
overridevirtual

calls collectData.

Implements SimulationObserver.

Definition at line 73 of file TimeseriesSimulationObserver.cpp.

◆ update() [19/24]

void TurbulenceIntensitySimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 76 of file TurbulenceIntensitySimulationObserver.cpp.

◆ update() [20/24]

void WriteBlocksSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 53 of file WriteBlocksSimulationObserver.cpp.

◆ update() [21/24]

void WriteBoundaryConditionsSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 73 of file WriteBoundaryConditionsSimulationObserver.cpp.

◆ update() [22/24]

void WriteGbObjectsSimulationObserver::update ( real  step)
overridevirtual

calls collectData.

Implements SimulationObserver.

Definition at line 50 of file WriteGbObjectsSimulationObserver.cpp.

◆ update() [23/24]

void WriteMacroscopicQuantitiesSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 76 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.

◆ update() [24/24]

void WriteMQFromSelectionSimulationObserver::update ( real  step)
overridevirtual

Updates observer.

Parameters
stepis the actual time step

Implements SimulationObserver.

Definition at line 71 of file WriteMQFromSelectionSimulationObserver.cpp.

◆ write3DArray() [1/3]

void MPIIOMigrationBESimulationObserver::write3DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 553 of file MPIIOMigrationBESimulationObserver.cpp.

◆ write3DArray() [2/3]

void MPIIOMigrationSimulationObserver::write3DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 611 of file MPIIOMigrationSimulationObserver.cpp.

◆ write3DArray() [3/3]

void MPIIORestartSimulationObserver::write3DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 652 of file MPIIORestartSimulationObserver.cpp.

◆ write4DArray() [1/3]

void MPIIOMigrationBESimulationObserver::write4DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 437 of file MPIIOMigrationBESimulationObserver.cpp.

◆ write4DArray() [2/3]

void MPIIOMigrationSimulationObserver::write4DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 481 of file MPIIOMigrationSimulationObserver.cpp.

◆ write4DArray() [3/3]

void MPIIORestartSimulationObserver::write4DArray ( int  step,
Arrays  arrType,
std::string  fname 
)

Definition at line 501 of file MPIIORestartSimulationObserver.cpp.

◆ writeBlocks() [1/4]

void MPIIOMigrationBESimulationObserver::writeBlocks ( int  step)

Writes the blocks of the grid into the file cpBlocks.bin.

Definition at line 124 of file MPIIOMigrationBESimulationObserver.cpp.

◆ writeBlocks() [2/4]

void MPIIOMigrationSimulationObserver::writeBlocks ( int  step)

Writes the blocks of the grid into the file cpBlocks.bin.

Definition at line 144 of file MPIIOMigrationSimulationObserver.cpp.

◆ writeBlocks() [3/4]

void MPIIORestartSimulationObserver::writeBlocks ( int  step)

Writes the blocks of the grid into the file cpBlocks.bin.

Definition at line 153 of file MPIIORestartSimulationObserver.cpp.

◆ writeBlocks() [4/4]

void MPIIOSimulationObserver::writeBlocks ( int  step)

Writes the blocks of the grid into the file cpBlocks.bin.

Definition at line 119 of file MPIIOSimulationObserver.cpp.

◆ WriteBlocksSimulationObserver()

WriteBlocksSimulationObserver::WriteBlocksSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
WbWriter *const  writer,
std::shared_ptr< vf::parallel::Communicator comm 
)

Construct WriteBlocksSimulationObserver object.

Precondition
The Grid3D and UbScheduler objects must exist.
Parameters
gridis observable Grid3D object
sis UbScheduler object for scheduling of observer
pathis path of folder for output
writeris WbWriter object
commis Communicator object

Definition at line 45 of file WriteBlocksSimulationObserver.cpp.

◆ WriteBoundaryConditionsSimulationObserver() [1/2]

WriteBoundaryConditionsSimulationObserver::WriteBoundaryConditionsSimulationObserver ( )
default

◆ WriteBoundaryConditionsSimulationObserver() [2/2]

WriteBoundaryConditionsSimulationObserver::WriteBoundaryConditionsSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
WbWriter *const  writer,
std::shared_ptr< vf::parallel::Communicator comm 
)

Construct WriteBoundaryConditionsSimulationObserver object.

Precondition
The Grid3D and UbScheduler objects must exist
Parameters
gridis observable Grid3D object
sis UbScheduler object for scheduling of observer
pathis path of folder for output
writeris WbWriter object
commis Communicator object

Definition at line 57 of file WriteBoundaryConditionsSimulationObserver.cpp.

◆ writeBoundaryConds() [1/3]

void MPIIOMigrationBESimulationObserver::writeBoundaryConds ( int  step)

Writes the boundary conditions of the blocks into the file cpBC.bin.

Definition at line 667 of file MPIIOMigrationBESimulationObserver.cpp.

◆ writeBoundaryConds() [2/3]

void MPIIOMigrationSimulationObserver::writeBoundaryConds ( int  step)

Writes the boundary conditions of the blocks into the file cpBC.bin.

Definition at line 738 of file MPIIOMigrationSimulationObserver.cpp.

◆ writeBoundaryConds() [3/3]

void MPIIORestartSimulationObserver::writeBoundaryConds ( int  step)

Writes the boundary conditions of the blocks into the file cpBC.bin.

Definition at line 803 of file MPIIORestartSimulationObserver.cpp.

◆ writeCpTimeStep()

void MPIIOSimulationObserver::writeCpTimeStep ( int  step)

The function write a time step of last check point.

Definition at line 516 of file MPIIOSimulationObserver.cpp.

◆ writeDataSet() [1/3]

void MPIIOMigrationBESimulationObserver::writeDataSet ( int  step)

Writes the datasets of the blocks into the file cpDataSet.bin.

Definition at line 133 of file MPIIOMigrationBESimulationObserver.cpp.

◆ writeDataSet() [2/3]

void MPIIOMigrationSimulationObserver::writeDataSet ( int  step)

Writes the datasets of the blocks into the file cpDataSet.bin.

Definition at line 150 of file MPIIOMigrationSimulationObserver.cpp.

◆ writeDataSet() [3/3]

void MPIIORestartSimulationObserver::writeDataSet ( int  step)

Writes the datasets of the blocks into the file cpDataSet.bin.

Definition at line 155 of file MPIIORestartSimulationObserver.cpp.

◆ writeFile()

void MicrophoneArraySimulationObserver::writeFile ( real  step)
protected

Definition at line 137 of file MicrophoneArraySimulationObserver.cpp.

◆ WriteGbObjectsSimulationObserver()

WriteGbObjectsSimulationObserver::WriteGbObjectsSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
WbWriter *const  writer,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 42 of file WriteGbObjectsSimulationObserver.cpp.

◆ writeLine()

void LineTimeSeriesSimulationObserver::writeLine ( const std::string &  path)

Definition at line 106 of file LineTimeSeriesSimulationObserver.cpp.

◆ WriteMacroscopicQuantitiesSimulationObserver() [1/2]

WriteMacroscopicQuantitiesSimulationObserver::WriteMacroscopicQuantitiesSimulationObserver ( )
default

◆ WriteMacroscopicQuantitiesSimulationObserver() [2/2]

WriteMacroscopicQuantitiesSimulationObserver::WriteMacroscopicQuantitiesSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
const std::string &  path,
WbWriter *const  writer,
SPtr< LBMUnitConverter conv,
std::shared_ptr< vf::parallel::Communicator comm 
)

Construct WriteMacroscopicQuantitiesSimulationObserver object.

Precondition
The Grid3D and UbScheduler objects must exist
Parameters
gridis observable Grid3D object
sis UbScheduler object for scheduling of observer
pathis path of folder for output
writeris WbWriter object
convis LBMUnitConverter object
commis Communicator object

Definition at line 52 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.

◆ writeMetafile()

void EmergencyExitSimulationObserver::writeMetafile ( int  status)
protected

Definition at line 77 of file EmergencyExitSimulationObserver.cpp.

◆ WriteMQFromSelectionSimulationObserver() [1/2]

WriteMQFromSelectionSimulationObserver::WriteMQFromSelectionSimulationObserver ( )
default

◆ WriteMQFromSelectionSimulationObserver() [2/2]

WriteMQFromSelectionSimulationObserver::WriteMQFromSelectionSimulationObserver ( SPtr< Grid3D grid,
SPtr< UbScheduler s,
SPtr< GbObject3D gbObject,
const std::string &  path,
WbWriter *const  writer,
SPtr< LBMUnitConverter conv,
std::shared_ptr< vf::parallel::Communicator comm 
)

Definition at line 52 of file WriteMQFromSelectionSimulationObserver.cpp.

◆ writeValues()

void PressureCoefficientSimulationObserver::writeValues ( int  step)
protected

Definition at line 156 of file PressureCoefficientSimulationObserver.cpp.

◆ ~CalculateForcesSimulationObserver()

CalculateForcesSimulationObserver::~CalculateForcesSimulationObserver ( )
overridedefault

◆ ~DecreaseViscositySimulationObserver()

DecreaseViscositySimulationObserver::~DecreaseViscositySimulationObserver ( )
overridedefault

◆ ~EmergencyExitSimulationObserver()

EmergencyExitSimulationObserver::~EmergencyExitSimulationObserver ( )
overridedefault

◆ ~ForceCalculator()

ForceCalculator::~ForceCalculator ( )
virtualdefault

◆ ~IntegrateValuesHelper()

IntegrateValuesHelper::~IntegrateValuesHelper ( )
virtualdefault

◆ ~MicrophoneArraySimulationObserver()

MicrophoneArraySimulationObserver::~MicrophoneArraySimulationObserver ( )
overridedefault

◆ ~MPIIOMigrationBESimulationObserver()

MPIIOMigrationBESimulationObserver::~MPIIOMigrationBESimulationObserver ( )
override

Definition at line 75 of file MPIIOMigrationBESimulationObserver.cpp.

◆ ~MPIIOMigrationSimulationObserver()

MPIIOMigrationSimulationObserver::~MPIIOMigrationSimulationObserver ( )
override

Definition at line 96 of file MPIIOMigrationSimulationObserver.cpp.

◆ ~MPIIORestartSimulationObserver()

MPIIORestartSimulationObserver::~MPIIORestartSimulationObserver ( )
override

Definition at line 103 of file MPIIORestartSimulationObserver.cpp.

◆ ~MPIIOSimulationObserver()

MPIIOSimulationObserver::~MPIIOSimulationObserver ( )
override

Definition at line 110 of file MPIIOSimulationObserver.cpp.

◆ ~NUPSCounterSimulationObserver()

NUPSCounterSimulationObserver::~NUPSCounterSimulationObserver ( )
overridedefault

◆ ~PressureCoefficientSimulationObserver()

PressureCoefficientSimulationObserver::~PressureCoefficientSimulationObserver ( )
overridedefault

◆ ~PressureDifferenceSimulationObserver()

PressureDifferenceSimulationObserver::~PressureDifferenceSimulationObserver ( )
overridedefault

◆ ~ShearStressSimulationObserver()

ShearStressSimulationObserver::~ShearStressSimulationObserver ( )
overridedefault

◆ ~SimulationObserver()

SimulationObserver::~SimulationObserver ( )
virtualdefault

Class destructor.

◆ ~TimeDependentBCSimulationObserver()

TimeDependentBCSimulationObserver::~TimeDependentBCSimulationObserver ( )
overridedefault

◆ ~TimeseriesSimulationObserver()

TimeseriesSimulationObserver::~TimeseriesSimulationObserver ( )
overridedefault

◆ ~WriteBlocksSimulationObserver()

WriteBlocksSimulationObserver::~WriteBlocksSimulationObserver ( )
overridedefault

◆ ~WriteGbObjectsSimulationObserver()

WriteGbObjectsSimulationObserver::~WriteGbObjectsSimulationObserver ( )
overridedefault