|
VirtualFluids 0.2.0
Parallel CFD LBM Solver
|
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_ |
| #define _MPIIOSimulationObserver_H_ |
Definition at line 77 of file MPIIOSimulationObserver.h.
| #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.
| #define MESSAGE_TAG 80 |
Definition at line 59 of file MPIIOMigrationBESimulationObserver.cpp.
| #define SEND_BLOCK_SIZE 100000 |
Definition at line 60 of file MPIIOMigrationBESimulationObserver.cpp.
|
protected |
prepare data
Definition at line 268 of file ShearStressSimulationObserver.cpp.
prepare data
Definition at line 254 of file AverageValuesSimulationObserver.cpp.
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.
prepare data
Definition at line 226 of file TimeAveragedValuesSimulationObserver.cpp.
Definition at line 131 of file TurbulenceIntensitySimulationObserver.cpp.
Definition at line 134 of file WriteBoundaryConditionsSimulationObserver.cpp.
Collect data for VTK-file
| block | is a time step |
Definition at line 145 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.
Definition at line 144 of file WriteMQFromSelectionSimulationObserver.cpp.
| void WriteGbObjectsSimulationObserver::addGbObject | ( | SPtr< GbObject3D > | object | ) |
adds geometry object
Definition at line 56 of file WriteGbObjectsSimulationObserver.cpp.
| void CalculateForcesSimulationObserver::addInteractor | ( | SPtr< D3Q27Interactor > | interactor | ) |
Definition at line 206 of file CalculateForcesSimulationObserver.cpp.
| void PressureCoefficientSimulationObserver::addInteractor | ( | SPtr< D3Q27Interactor > | interactor | ) |
Definition at line 239 of file PressureCoefficientSimulationObserver.cpp.
| void ShearStressSimulationObserver::addInteractor | ( | SPtr< D3Q27Interactor > | interactor | ) |
Definition at line 444 of file ShearStressSimulationObserver.cpp.
| void TimeDependentBCSimulationObserver::addInteractor | ( | SPtr< Interactor3D > | interactor | ) |
add interactors to SimulationObserver
Definition at line 53 of file TimeDependentBCSimulationObserver.cpp.
| bool MicrophoneArraySimulationObserver::addMicrophone | ( | GbVector3D | coords | ) |
add microphone
Definition at line 69 of file MicrophoneArraySimulationObserver.cpp.
| 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.
|
default |
| 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.
| 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.
| void IntegrateValuesHelper::calculateAV | ( | ) |
Definition at line 151 of file IntegrateValuesHelper.cpp.
Computes average and RMS values of macroscopic quantities.
Definition at line 370 of file AverageValuesSimulationObserver.cpp.
Computes average values of velocity , fluctuations and triple correlations.
Definition at line 388 of file TimeAveragedValuesSimulationObserver.cpp.
Definition at line 215 of file TurbulenceIntensitySimulationObserver.cpp.
|
protected |
Definition at line 777 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
Definition at line 192 of file CalculateForcesSimulationObserver.cpp.
|
protected |
Definition at line 110 of file CalculateForcesSimulationObserver.cpp.
| void ForceCalculator::calculateForces | ( | std::vector< std::shared_ptr< D3Q27Interactor > > | interactors | ) |
Definition at line 159 of file ForceCalculator.cpp.
| CalculateForcesSimulationObserver::CalculateForcesSimulationObserver | ( | SPtr< Grid3D > | grid, |
| SPtr< UbScheduler > | s, | ||
| const std::string & | path, | ||
| std::shared_ptr< vf::parallel::Communicator > | comm, | ||
| real | v, | ||
| real | a | ||
| ) |
Constructor
| v | - velocity of fluid in LB units |
| a | - area of object in LB units |
Definition at line 50 of file CalculateForcesSimulationObserver.cpp.
| void IntegrateValuesHelper::calculateMQ | ( | ) |
Definition at line 208 of file IntegrateValuesHelper.cpp.
|
protected |
Definition at line 76 of file PressureCoefficientSimulationObserver.cpp.
Computes average and shear stress values of macroscopic quantities.
Definition at line 158 of file ShearStressSimulationObserver.cpp.
Computes subtotal of velocity , fluctuations and triple correlations.
Definition at line 501 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
Definition at line 89 of file EmergencyExitSimulationObserver.cpp.
|
protected |
Definition at line 865 of file ShearStressSimulationObserver.cpp.
The function truncates the data files.
Definition at line 97 of file MPIIOMigrationBESimulationObserver.cpp.
The function truncates the data files.
Definition at line 126 of file MPIIOMigrationSimulationObserver.cpp.
The function truncates the data files.
Definition at line 134 of file MPIIORestartSimulationObserver.cpp.
The function truncates the data files.
Definition at line 401 of file MPIIOSimulationObserver.cpp.
|
protected |
Definition at line 246 of file AverageValuesSimulationObserver.cpp.
| void IntegrateValuesHelper::clearData | ( | ) |
Definition at line 268 of file IntegrateValuesHelper.cpp.
|
protected |
After writing to .vtk-file, all vectors are reset.
Definition at line 115 of file QCriterionSimulationObserver.cpp.
|
protected |
Definition at line 151 of file ShearStressSimulationObserver.cpp.
|
protected |
Definition at line 218 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
Definition at line 123 of file TurbulenceIntensitySimulationObserver.cpp.
|
protected |
Definition at line 126 of file WriteBoundaryConditionsSimulationObserver.cpp.
|
protected |
Definition at line 136 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.
|
protected |
Definition at line 137 of file WriteMQFromSelectionSimulationObserver.cpp.
|
protected |
Definition at line 122 of file LineTimeSeriesSimulationObserver.cpp.
Definition at line 111 of file AdjustForcingSimulationObserver.cpp.
Prepare data and write in .vtk file.
Definition at line 201 of file AverageValuesSimulationObserver.cpp.
Definition at line 83 of file CalculateForcesSimulationObserver.cpp.
Definition at line 66 of file EmergencyExitSimulationObserver.cpp.
Definition at line 124 of file MicrophoneArraySimulationObserver.cpp.
Collect data for calculation of NUPS
| step | is a time step |
Definition at line 76 of file NUPSCounterSimulationObserver.cpp.
Definition at line 67 of file PressureCoefficientSimulationObserver.cpp.
Definition at line 109 of file PressureDifferenceSimulationObserver.cpp.
Prepare data and write in .vtk file.
Definition at line 76 of file QCriterionSimulationObserver.cpp.
Prepare data and write in .vtk file.
Definition at line 85 of file ShearStressSimulationObserver.cpp.
Prepare data and write in .vtk file.
Definition at line 185 of file TimeAveragedValuesSimulationObserver.cpp.
Definition at line 79 of file TimeseriesSimulationObserver.cpp.
Definition at line 86 of file TurbulenceIntensitySimulationObserver.cpp.
Collect data for VTK-file
| step | is a time step |
Definition at line 59 of file WriteBlocksSimulationObserver.cpp.
Collect data for VTK-file
| step | is a time step |
Definition at line 81 of file WriteBoundaryConditionsSimulationObserver.cpp.
Definition at line 58 of file WriteGbObjectsSimulationObserver.cpp.
Collect data for VTK-file
| step | is a time step |
Definition at line 85 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.
Definition at line 79 of file WriteMQFromSelectionSimulationObserver.cpp.
|
protected |
Computes macroscopic velocities.
Definition at line 383 of file QCriterionSimulationObserver.cpp.
| 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 | ( | 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.
|
protected |
Definition at line 446 of file ShearStressSimulationObserver.cpp.
| ForceCalculator::ForceCalculator | ( | std::shared_ptr< vf::parallel::Communicator > | comm | ) |
Definition at line 48 of file ForceCalculator.cpp.
| GbCuboid3DPtr IntegrateValuesHelper::getBoundingBox | ( | ) |
Definition at line 293 of file IntegrateValuesHelper.cpp.
| std::vector< IntegrateValuesHelper::CalcNodes > IntegrateValuesHelper::getCNodes | ( | ) |
Definition at line 295 of file IntegrateValuesHelper.cpp.
| 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.
| 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.
| 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.
| std::array< real, 3 > ForceCalculator::getGlobalForces | ( | ) | const |
Definition at line 235 of file ForceCalculator.cpp.
|
protected |
Computes average and RMS values of macroscopic quantities.
Definition at line 238 of file QCriterionSimulationObserver.cpp.
| real IntegrateValuesHelper::getNumberOfFluidsNodes | ( | ) |
Definition at line 289 of file IntegrateValuesHelper.cpp.
| real IntegrateValuesHelper::getNumberOfSolidNodes | ( | ) |
Definition at line 291 of file IntegrateValuesHelper.cpp.
| bool TimeAveragedValuesSimulationObserver::getWithGhostLayer | ( | ) |
Definition at line 775 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
Definition at line 72 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
Definition at line 111 of file TimeAveragedValuesSimulationObserver.cpp.
|
protected |
distance point to plane xp-Xw=distance
Definition at line 878 of file ShearStressSimulationObserver.cpp.
| 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::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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | 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 | ( | SPtr< Grid3D > | grid, |
| SPtr< UbScheduler > | s, | ||
| int | numOfThreads, | ||
| std::shared_ptr< vf::parallel::Communicator > | comm | ||
| ) |
Construct NUPSCounterSimulationObserver object for grid object and scheduler object.
| grid | is observable Grid3D object |
| s | is UbScheduler object for scheduling of observer |
| numOfThreads | is number of threads |
| comm | is Communicator object |
Definition at line 46 of file NUPSCounterSimulationObserver.cpp.
Definition at line 612 of file TimeAveragedValuesSimulationObserver.cpp.
| 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 | ( | 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 | ( | 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.
Definition at line 1320 of file MPIIOMigrationBESimulationObserver.cpp.
Definition at line 1232 of file MPIIOMigrationSimulationObserver.cpp.
Definition at line 1277 of file MPIIORestartSimulationObserver.cpp.
Reads the blocks of the grid from the file cpBlocks.bin.
Definition at line 881 of file MPIIOMigrationBESimulationObserver.cpp.
Reads the blocks of the grid from the file cpBlocks.bin.
Definition at line 946 of file MPIIOMigrationSimulationObserver.cpp.
Reads the blocks of the grid from the file cpBlocks.bin.
Definition at line 1019 of file MPIIORestartSimulationObserver.cpp.
Reads the blocks of the grid from the file cpBlocks.bin.
Definition at line 266 of file MPIIOSimulationObserver.cpp.
Reads the boundary conditions of the blocks from the file cpBC.bin.
Definition at line 1481 of file MPIIOMigrationBESimulationObserver.cpp.
Reads the boundary conditions of the blocks from the file cpBC.bin.
Definition at line 1383 of file MPIIOMigrationSimulationObserver.cpp.
Reads the boundary conditions of the blocks from the file cpBC.bin.
Definition at line 1431 of file MPIIORestartSimulationObserver.cpp.
| int MPIIOSimulationObserver::readCpTimeStep | ( | ) |
The function read a time step of last check point.
Definition at line 524 of file MPIIOSimulationObserver.cpp.
Reads the datasets of the blocks from the file cpDataSet.bin.
Definition at line 1016 of file MPIIOMigrationBESimulationObserver.cpp.
Reads the datasets of the blocks from the file cpDataSet.bin.
Definition at line 948 of file MPIIOMigrationSimulationObserver.cpp.
Reads the datasets of the blocks from the file cpDataSet.bin.
Definition at line 1021 of file MPIIORestartSimulationObserver.cpp.
|
protected |
Definition at line 83 of file EmergencyExitSimulationObserver.cpp.
Definition at line 215 of file PressureCoefficientSimulationObserver.cpp.
| void TimeAveragedValuesSimulationObserver::reset | ( | ) |
Definition at line 735 of file TimeAveragedValuesSimulationObserver.cpp.
Definition at line 384 of file ShearStressSimulationObserver.cpp.
Reset data.
Definition at line 392 of file ShearStressSimulationObserver.cpp.
Definition at line 158 of file AverageValuesSimulationObserver.cpp.
Reset data.
Definition at line 112 of file AverageValuesSimulationObserver.cpp.
Reads the grid from the files before grid reconstruction.
Definition at line 863 of file MPIIOMigrationBESimulationObserver.cpp.
Reads the grid from the files before grid reconstruction.
Definition at line 926 of file MPIIOMigrationSimulationObserver.cpp.
Reads the grid from the files before grid reconstruction.
Definition at line 1002 of file MPIIORestartSimulationObserver.cpp.
The function sets BCSet.
Definition at line 1735 of file MPIIOMigrationBESimulationObserver.cpp.
The function sets BCSet.
Definition at line 1543 of file MPIIOMigrationSimulationObserver.cpp.
The function sets BCSet.
Definition at line 1593 of file MPIIORestartSimulationObserver.cpp.
Definition at line 1741 of file MPIIOMigrationBESimulationObserver.cpp.
The function sets LBMKernel.
Definition at line 1733 of file MPIIOMigrationBESimulationObserver.cpp.
The function sets LBMKernel.
Definition at line 1541 of file MPIIOMigrationSimulationObserver.cpp.
The function sets LBMKernel.
Definition at line 1591 of file MPIIORestartSimulationObserver.cpp.
Definition at line 1737 of file MPIIOMigrationBESimulationObserver.cpp.
Definition at line 1739 of file MPIIOMigrationBESimulationObserver.cpp.
resets the collision factor depending on the current timestep.
Definition at line 63 of file DecreaseViscositySimulationObserver.cpp.
Definition at line 764 of file TimeAveragedValuesSimulationObserver.cpp.
| 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.
|
default |
Class default constructor.
| SimulationObserver::SimulationObserver | ( | SPtr< Grid3D > | grid, |
| SPtr< UbScheduler > | s | ||
| ) |
Construct SimulationObserver object for grid object and scheduler object.
| grid | is observable Grid3D object |
| s | is 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.
|
default |
| 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::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 | ( | SPtr< Grid3D > | grid, |
| SPtr< UbScheduler > | s | ||
| ) |
Definition at line 40 of file TimeDependentBCSimulationObserver.cpp.
| 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 | ( | 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.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 105 of file AdjustForcingSimulationObserver.cpp.
Make update.
Implements SimulationObserver.
Definition at line 90 of file AverageValuesSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 75 of file CalculateForcesSimulationObserver.cpp.
calls collect PostprocessData.
Implements SimulationObserver.
Definition at line 57 of file DecreaseViscositySimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 58 of file EmergencyExitSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 97 of file LineTimeSeriesSimulationObserver.cpp.
calls collectData.
Implements SimulationObserver.
Definition at line 57 of file MicrophoneArraySimulationObserver.cpp.
Each timestep writes the grid into the files.
Implements MPIIOSimulationObserver.
Definition at line 77 of file MPIIOMigrationBESimulationObserver.cpp.
Each timestep writes the grid into the files.
Implements MPIIOSimulationObserver.
Definition at line 105 of file MPIIOMigrationSimulationObserver.cpp.
Each timestep writes the grid into the files.
Implements MPIIOSimulationObserver.
Definition at line 113 of file MPIIORestartSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 70 of file NUPSCounterSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 59 of file PressureCoefficientSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 103 of file PressureDifferenceSimulationObserver.cpp.
Make update if timestep is write-timestep specified in SPtr<UbScheduler> s.
Implements SimulationObserver.
Definition at line 68 of file QCriterionSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 74 of file ShearStressSimulationObserver.cpp.
Make update.
Implements SimulationObserver.
Definition at line 152 of file TimeAveragedValuesSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 44 of file TimeDependentBCSimulationObserver.cpp.
calls collectData.
Implements SimulationObserver.
Definition at line 73 of file TimeseriesSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 76 of file TurbulenceIntensitySimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 53 of file WriteBlocksSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 73 of file WriteBoundaryConditionsSimulationObserver.cpp.
calls collectData.
Implements SimulationObserver.
Definition at line 50 of file WriteGbObjectsSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 76 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.
Updates observer.
| step | is the actual time step |
Implements SimulationObserver.
Definition at line 71 of file WriteMQFromSelectionSimulationObserver.cpp.
| void MPIIOMigrationBESimulationObserver::write3DArray | ( | int | step, |
| Arrays | arrType, | ||
| std::string | fname | ||
| ) |
Definition at line 553 of file MPIIOMigrationBESimulationObserver.cpp.
Definition at line 611 of file MPIIOMigrationSimulationObserver.cpp.
Definition at line 652 of file MPIIORestartSimulationObserver.cpp.
| void MPIIOMigrationBESimulationObserver::write4DArray | ( | int | step, |
| Arrays | arrType, | ||
| std::string | fname | ||
| ) |
Definition at line 437 of file MPIIOMigrationBESimulationObserver.cpp.
Definition at line 481 of file MPIIOMigrationSimulationObserver.cpp.
Definition at line 501 of file MPIIORestartSimulationObserver.cpp.
Writes the blocks of the grid into the file cpBlocks.bin.
Definition at line 124 of file MPIIOMigrationBESimulationObserver.cpp.
Writes the blocks of the grid into the file cpBlocks.bin.
Definition at line 144 of file MPIIOMigrationSimulationObserver.cpp.
Writes the blocks of the grid into the file cpBlocks.bin.
Definition at line 153 of file MPIIORestartSimulationObserver.cpp.
Writes the blocks of the grid into the file cpBlocks.bin.
Definition at line 119 of file MPIIOSimulationObserver.cpp.
| 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.
| grid | is observable Grid3D object |
| s | is UbScheduler object for scheduling of observer |
| path | is path of folder for output |
| writer | is WbWriter object |
| comm | is Communicator object |
Definition at line 45 of file WriteBlocksSimulationObserver.cpp.
|
default |
| 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.
| grid | is observable Grid3D object |
| s | is UbScheduler object for scheduling of observer |
| path | is path of folder for output |
| writer | is WbWriter object |
| comm | is Communicator object |
Definition at line 57 of file WriteBoundaryConditionsSimulationObserver.cpp.
Writes the boundary conditions of the blocks into the file cpBC.bin.
Definition at line 667 of file MPIIOMigrationBESimulationObserver.cpp.
Writes the boundary conditions of the blocks into the file cpBC.bin.
Definition at line 738 of file MPIIOMigrationSimulationObserver.cpp.
Writes the boundary conditions of the blocks into the file cpBC.bin.
Definition at line 803 of file MPIIORestartSimulationObserver.cpp.
The function write a time step of last check point.
Definition at line 516 of file MPIIOSimulationObserver.cpp.
Writes the datasets of the blocks into the file cpDataSet.bin.
Definition at line 133 of file MPIIOMigrationBESimulationObserver.cpp.
Writes the datasets of the blocks into the file cpDataSet.bin.
Definition at line 150 of file MPIIOMigrationSimulationObserver.cpp.
Writes the datasets of the blocks into the file cpDataSet.bin.
Definition at line 155 of file MPIIORestartSimulationObserver.cpp.
Definition at line 137 of file MicrophoneArraySimulationObserver.cpp.
| 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.
Definition at line 106 of file LineTimeSeriesSimulationObserver.cpp.
|
default |
| 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.
| grid | is observable Grid3D object |
| s | is UbScheduler object for scheduling of observer |
| path | is path of folder for output |
| writer | is WbWriter object |
| conv | is LBMUnitConverter object |
| comm | is Communicator object |
Definition at line 52 of file WriteMacroscopicQuantitiesSimulationObserver.cpp.
Definition at line 77 of file EmergencyExitSimulationObserver.cpp.
|
default |
| 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.
Definition at line 156 of file PressureCoefficientSimulationObserver.cpp.
|
overridedefault |
|
overridedefault |
|
overridedefault |
|
virtualdefault |
|
virtualdefault |
|
overridedefault |
|
override |
Definition at line 75 of file MPIIOMigrationBESimulationObserver.cpp.
|
override |
Definition at line 96 of file MPIIOMigrationSimulationObserver.cpp.
|
override |
Definition at line 103 of file MPIIORestartSimulationObserver.cpp.
|
override |
Definition at line 110 of file MPIIOSimulationObserver.cpp.
|
overridedefault |
|
overridedefault |
|
overridedefault |
|
overridedefault |
|
virtualdefault |
Class destructor.
|
overridedefault |
|
overridedefault |
|
overridedefault |
|
overridedefault |