PetIBM 0.5.4
Toolbox and applications of the immersed-boundary method for distributed-memory architectures

Helper class to solve cases with moving rigid bodies using the decoupled IBPM. More...

#include <rigidkinematics.h>

Inheritance diagram for RigidKinematicsSolver:
[legend]

Public Member Functions

 RigidKinematicsSolver ()=default
 Default constructor. More...
 
 RigidKinematicsSolver (const MPI_Comm &world, const YAML::Node &node)
 Constructor; Initialize the decoupled IBPM solver with moving bodies. More...
 
 ~RigidKinematicsSolver ()
 Default destructor. More...
 
PetscErrorCode destroy ()
 Manually destroy data. More...
 
PetscErrorCode init (const MPI_Comm &world, const YAML::Node &node)
 Initialize the decoupled IBPM solver with moving rigid bodies. More...
 
PetscErrorCode advance ()
 Advance the solution by one time step. More...
 
PetscErrorCode write ()
 Write solution, solver info, and body points to files. More...
 
PetscErrorCode ioInitialData ()
 Read or write initial data. More...
 
bool finished ()
 Evaluate if the simulation is finished. More...
 

Protected Member Functions

virtual PetscErrorCode moveBodies (const PetscReal &ti)
 Move the bodies and update the solver state. More...
 
virtual PetscErrorCode setCoordinatesBodies (const PetscReal &ti)
 Update the position of the Lagrangian points. More...
 
virtual PetscErrorCode setVelocityBodies (const PetscReal &ti)
 Update the velocity of the Lagrangian points. More...
 
virtual PetscErrorCode assembleRHSForces ()
 Assemble the right-hand side of the system for the forces. More...
 
virtual PetscErrorCode writeBodies ()
 Write the coordinates of the Lagrangian points for each body. More...
 
virtual PetscErrorCode assembleRHSVelocity ()
 Assemble the RHS vector of the velocity system. More...
 
virtual PetscErrorCode solveForces ()
 Solve the system for the boundary forces. More...
 
virtual PetscErrorCode applyNoSlip ()
 Update the velocity to satisfy the no-slip condition. More...
 
virtual PetscErrorCode updateForces ()
 Update the Lagrangian forces. More...
 
virtual PetscErrorCode createExtraOperators ()
 Assemble additional operators. More...
 
virtual PetscErrorCode createExtraVectors ()
 Create additional vectors. More...
 
virtual PetscErrorCode writeRestartDataHDF5 (const std::string &filePath)
 Write data required to restart a simulation into a HDF5 file. More...
 
virtual PetscErrorCode readRestartDataHDF5 (const std::string &filePath)
 Read data required to restart a simulation from a HDF5 file. More...
 
virtual PetscErrorCode writeLinSolversInfo ()
 Write numbers of iterations and residuals of solvers to file. More...
 
virtual PetscErrorCode writeForcesASCII ()
 Write the forces acting on the bodies into an ASCII file. More...
 
virtual PetscErrorCode solveVelocity ()
 Solve the velocity system. More...
 
virtual PetscErrorCode assembleRHSPoisson ()
 Assemble the RHS vector of the Poisson system. More...
 
virtual PetscErrorCode solvePoisson ()
 Solve the Poisson system. More...
 
virtual PetscErrorCode applyDivergenceFreeVelocity ()
 
virtual PetscErrorCode updatePressure ()
 
virtual PetscErrorCode createOperators ()
 Create operators. More...
 
virtual PetscErrorCode createVectors ()
 Create vectors. More...
 
virtual PetscErrorCode setNullSpace ()
 Set Poisson nullspace or pin pressure at a reference point. More...
 
virtual PetscErrorCode createPetscViewerASCII (const std::string &filePath, const PetscFileMode &mode, PetscViewer &viewer)
 Create an ASCII PetscViewer. More...
 
virtual PetscErrorCode writeSolutionHDF5 (const std::string &filePath)
 Write the solution fields into a HDF5 file. More...
 
virtual PetscErrorCode writeTimeHDF5 (const PetscReal &t, const std::string &filePath)
 Write the time value into a HDF5 file. More...
 
virtual PetscErrorCode readTimeHDF5 (const std::string &filePath, PetscReal &t)
 Read the time value from a HDF5 file. More...
 
virtual PetscErrorCode monitorProbes ()
 Monitor the solution at probes. More...
 

Protected Attributes

Vec UB
 Prescribed boundary velocity vector. More...
 
PetscLogStage stageMoveIB
 Log stage for moving the bodies. More...
 
petibm::type::BodyPack bodies
 Pack of immersed bodies. More...
 
petibm::type::LinSolver fSolver
 Linear solver for the Lagrangian forces. More...
 
Mat H
 Spreading operator. More...
 
Mat E
 Regularization operator. More...
 
Mat EBNH
 Left-hand side operator of the system for the forces. More...
 
Mat BNH
 Projection operator for the forces. More...
 
Vec f
 Vector to hold the forces at time step n. More...
 
Vec df
 Force-increment vector. More...
 
Vec rhsf
 Right-hand side of the forces system. More...
 
PetscLogStage stageRHSForces
 Log stage for assembling the RHS of the forces system. More...
 
PetscLogStage stageSolveForces
 Log stage for solving the forces system. More...
 
PetscLogStage stageIntegrateForces
 Log stage for integrating the Lagrangian forces. More...
 
PetscViewer forcesViewer
 ASCII PetscViewer object to output the forces. More...
 
MPI_Comm comm
 MPI communicator. More...
 
PetscMPIInt commSize
 Size of the MPI communicator. More...
 
PetscMPIInt commRank
 Rank of the process in the MPI communicator. More...
 
YAML::Node config
 YAML configuration settings. More...
 
petibm::type::Mesh mesh
 Structured Cartesian mesh object. More...
 
petibm::type::Boundary bc
 Information about the domain boundaries. More...
 
petibm::type::Solution solution
 Data object holding the velocity and pressure fields. More...
 
petibm::type::TimeIntegration convCoeffs
 Time scheme for the convective terms. More...
 
petibm::type::TimeIntegration diffCoeffs
 Time scheme for the diffusion terms. More...
 
petibm::type::LinSolver vSolver
 Velocity linear solver. More...
 
petibm::type::LinSolver pSolver
 Poisson linear solver. More...
 
std::vector< petibm::type::Probeprobes
 Probes to monitor the solution. More...
 
PetscReal dt
 Time-step size. More...
 
PetscInt ite
 Time-step index. More...
 
PetscReal t
 Time value. More...
 
PetscInt nstart
 Starting time-step index. More...
 
PetscInt nt
 Number of time steps to compute. More...
 
PetscInt nsave
 Frequency at which the solution fields are written to files. More...
 
PetscInt nrestart
 Frequency at which data to restart are written to files. More...
 
PetscReal nu
 Viscous diffusion coefficient. More...
 
Mat L
 Laplacian operator. More...
 
Mat LCorrection
 Laplacian correction operator for boundary conditions. More...
 
Mat G
 Gradient operator. More...
 
Mat D
 Divergence operator. More...
 
Mat DCorrection
 Divergence correction for boundary conditions. More...
 
Mat N
 Convective operator (matrix-free). More...
 
Mat A
 Implicit operator for the velocity solver. More...
 
Mat BNG
 Projection operator. More...
 
Mat DBNG
 Poisson operator. More...
 
Vec dP
 Pressure-correction vector. More...
 
Vec bc1
 Inhomogeneous boundary terms for the velocity system. More...
 
Vec rhs1
 Right-hand side vector of the velocity system. More...
 
Vec rhs2
 Right-hand side vector of the Poisson system. More...
 
std::vector< Vec > conv
 Explicit convective terms. More...
 
std::vector< Vec > diff
 Explicit diffusion terms. More...
 
PetscBool isRefP
 True if we pin the pressure at a reference point. More...
 
PetscLogStage stageInitialize
 Log stage for the initialization phase. More...
 
PetscLogStage stageRHSVelocity
 Log stage for assembling the RHS of the velocity system. More...
 
PetscLogStage stageSolveVelocity
 Log stage for solving the velocity system. More...
 
PetscLogStage stageRHSPoisson
 Log stage for assembling the RHS of the Poisson system. More...
 
PetscLogStage stageSolvePoisson
 Log stage for solving the Poisson system. More...
 
PetscLogStage stageUpdate
 Log stage for updating field variables. More...
 
PetscLogStage stageWrite
 Log stage when write the solution fields. More...
 
PetscLogStage stageMonitor
 Log stage for monitoring user-defined regions of the domain. More...
 
PetscViewer solversViewer
 ASCII PetscViewer object to output solvers info. More...
 

Detailed Description

Helper class to solve cases with moving rigid bodies using the decoupled IBPM.

See also
Decoupled IBPM solver (Li et. al. 2016)

Definition at line 20 of file rigidkinematics.h.

Constructor & Destructor Documentation

◆ RigidKinematicsSolver() [1/2]

RigidKinematicsSolver::RigidKinematicsSolver ( )
default

Default constructor.

◆ RigidKinematicsSolver() [2/2]

RigidKinematicsSolver::RigidKinematicsSolver ( const MPI_Comm &  world,
const YAML::Node &  node 
)

Constructor; Initialize the decoupled IBPM solver with moving bodies.

Parameters
world[in] MPI communicator
node[in] YAML configuration settings

Definition at line 14 of file rigidkinematics.cpp.

◆ ~RigidKinematicsSolver()

RigidKinematicsSolver::~RigidKinematicsSolver ( )

Default destructor.

Definition at line 20 of file rigidkinematics.cpp.

Member Function Documentation

◆ advance()

PetscErrorCode RigidKinematicsSolver::advance ( )

Advance the solution by one time step.

Definition at line 69 of file rigidkinematics.cpp.

◆ applyDivergenceFreeVelocity()

PetscErrorCode NavierStokesSolver::applyDivergenceFreeVelocity ( )
protectedvirtualinherited

Definition at line 583 of file navierstokes.cpp.

◆ applyNoSlip()

PetscErrorCode DecoupledIBPMSolver::applyNoSlip ( )
protectedvirtualinherited

Update the velocity to satisfy the no-slip condition.

Definition at line 288 of file decoupledibpm.cpp.

◆ assembleRHSForces()

PetscErrorCode RigidKinematicsSolver::assembleRHSForces ( )
protectedvirtual

Assemble the right-hand side of the system for the forces.

Reimplemented from DecoupledIBPMSolver.

Definition at line 143 of file rigidkinematics.cpp.

◆ assembleRHSPoisson()

PetscErrorCode NavierStokesSolver::assembleRHSPoisson ( )
protectedvirtualinherited

Assemble the RHS vector of the Poisson system.

Reimplemented in IBPMSolver.

Definition at line 540 of file navierstokes.cpp.

◆ assembleRHSVelocity()

PetscErrorCode DecoupledIBPMSolver::assembleRHSVelocity ( )
protectedvirtualinherited

Assemble the RHS vector of the velocity system.

Reimplemented from NavierStokesSolver.

Definition at line 233 of file decoupledibpm.cpp.

◆ createExtraOperators()

PetscErrorCode DecoupledIBPMSolver::createExtraOperators ( )
protectedvirtualinherited

Assemble additional operators.

Definition at line 149 of file decoupledibpm.cpp.

◆ createExtraVectors()

PetscErrorCode DecoupledIBPMSolver::createExtraVectors ( )
protectedvirtualinherited

Create additional vectors.

Definition at line 219 of file decoupledibpm.cpp.

◆ createOperators()

PetscErrorCode NavierStokesSolver::createOperators ( )
protectedvirtualinherited

Create operators.

Reimplemented in IBPMSolver.

Definition at line 317 of file navierstokes.cpp.

◆ createPetscViewerASCII()

PetscErrorCode NavierStokesSolver::createPetscViewerASCII ( const std::string &  filePath,
const PetscFileMode &  mode,
PetscViewer &  viewer 
)
protectedvirtualinherited

Create an ASCII PetscViewer.

Parameters
filePath[in] Path of the file to write in
mode[in] File mode
viewer[out] PetscViewer object
Returns
PetscErrorCode

Definition at line 749 of file navierstokes.cpp.

◆ createVectors()

PetscErrorCode NavierStokesSolver::createVectors ( )
protectedvirtualinherited

Create vectors.

Reimplemented in IBPMSolver.

Definition at line 368 of file navierstokes.cpp.

◆ destroy()

PetscErrorCode RigidKinematicsSolver::destroy ( )

Manually destroy data.

Definition at line 34 of file rigidkinematics.cpp.

◆ finished()

bool NavierStokesSolver::finished ( )

Evaluate if the simulation is finished.

Definition at line 56 of file navierstokes.cpp.

◆ init()

PetscErrorCode RigidKinematicsSolver::init ( const MPI_Comm &  world,
const YAML::Node &  node 
)

Initialize the decoupled IBPM solver with moving rigid bodies.

Parameters
world[in] MPI communicator
node[in] YAML configuration settings

Definition at line 47 of file rigidkinematics.cpp.

◆ ioInitialData()

PetscErrorCode RigidKinematicsSolver::ioInitialData ( )

Read or write initial data.

Definition at line 105 of file rigidkinematics.cpp.

◆ monitorProbes()

PetscErrorCode NavierStokesSolver::monitorProbes ( )
protectedvirtualinherited

Monitor the solution at probes.

Definition at line 840 of file navierstokes.cpp.

◆ moveBodies()

PetscErrorCode RigidKinematicsSolver::moveBodies ( const PetscReal &  ti)
protectedvirtual

Move the bodies and update the solver state.

Update the position of the Lagrangian points. Set the velocity of the Lagrangian points. Assemble the operators that depends on the location of the Lagrangian points.

Parameters
ti[in] Time

Definition at line 119 of file rigidkinematics.cpp.

◆ readRestartDataHDF5()

PetscErrorCode DecoupledIBPMSolver::readRestartDataHDF5 ( const std::string &  filePath)
protectedvirtualinherited

Read data required to restart a simulation from a HDF5 file.

Parameters
filePath[in] Path of the file to read from
Returns
PetscErrorCode

Reimplemented from NavierStokesSolver.

Definition at line 353 of file decoupledibpm.cpp.

◆ readTimeHDF5()

PetscErrorCode NavierStokesSolver::readTimeHDF5 ( const std::string &  filePath,
PetscReal &  t 
)
protectedvirtualinherited

Read the time value from a HDF5 file.

Parameters
filePath[in] Path of the file to read from
t[out] Time
Returns
PetscErrorCode

Definition at line 818 of file navierstokes.cpp.

◆ setCoordinatesBodies()

virtual PetscErrorCode RigidKinematicsSolver::setCoordinatesBodies ( const PetscReal &  ti)
inlineprotectedvirtual

Update the position of the Lagrangian points.

The present implementation does nothing. The method should be implemented by the user in a child class.

Parameters
ti[in] Time

Definition at line 81 of file rigidkinematics.h.

◆ setNullSpace()

PetscErrorCode NavierStokesSolver::setNullSpace ( )
protectedvirtualinherited

Set Poisson nullspace or pin pressure at a reference point.

Reimplemented in IBPMSolver.

Definition at line 395 of file navierstokes.cpp.

◆ setVelocityBodies()

virtual PetscErrorCode RigidKinematicsSolver::setVelocityBodies ( const PetscReal &  ti)
inlineprotectedvirtual

Update the velocity of the Lagrangian points.

The present implementation does nothing. The method should be implemented by the user in a child class.

Parameters
ti[in] Time

Definition at line 91 of file rigidkinematics.h.

◆ solveForces()

PetscErrorCode DecoupledIBPMSolver::solveForces ( )
protectedvirtualinherited

Solve the system for the boundary forces.

Definition at line 271 of file decoupledibpm.cpp.

◆ solvePoisson()

PetscErrorCode NavierStokesSolver::solvePoisson ( )
protectedvirtualinherited

Solve the Poisson system.

Definition at line 566 of file navierstokes.cpp.

◆ solveVelocity()

PetscErrorCode NavierStokesSolver::solveVelocity ( )
protectedvirtualinherited

Solve the velocity system.

Definition at line 524 of file navierstokes.cpp.

◆ updateForces()

PetscErrorCode DecoupledIBPMSolver::updateForces ( )
protectedvirtualinherited

Update the Lagrangian forces.

Definition at line 302 of file decoupledibpm.cpp.

◆ updatePressure()

PetscErrorCode NavierStokesSolver::updatePressure ( )
protectedvirtualinherited

Definition at line 601 of file navierstokes.cpp.

◆ write()

PetscErrorCode RigidKinematicsSolver::write ( )

Write solution, solver info, and body points to files.

Definition at line 84 of file rigidkinematics.cpp.

◆ writeBodies()

PetscErrorCode RigidKinematicsSolver::writeBodies ( )
protectedvirtual

Write the coordinates of the Lagrangian points for each body.

Definition at line 162 of file rigidkinematics.cpp.

◆ writeForcesASCII()

PetscErrorCode DecoupledIBPMSolver::writeForcesASCII ( )
protectedvirtualinherited

Write the forces acting on the bodies into an ASCII file.

Definition at line 420 of file decoupledibpm.cpp.

◆ writeLinSolversInfo()

PetscErrorCode DecoupledIBPMSolver::writeLinSolversInfo ( )
protectedvirtualinherited

Write numbers of iterations and residuals of solvers to file.

Reimplemented from NavierStokesSolver.

Definition at line 383 of file decoupledibpm.cpp.

◆ writeRestartDataHDF5()

PetscErrorCode DecoupledIBPMSolver::writeRestartDataHDF5 ( const std::string &  filePath)
protectedvirtualinherited

Write data required to restart a simulation into a HDF5 file.

Parameters
filePath[in] Path of the file to write in
Returns
PetscErrorCode

Reimplemented from NavierStokesSolver.

Definition at line 319 of file decoupledibpm.cpp.

◆ writeSolutionHDF5()

PetscErrorCode NavierStokesSolver::writeSolutionHDF5 ( const std::string &  filePath)
protectedvirtualinherited

Write the solution fields into a HDF5 file.

Parameters
filePath[in] Path of the file to write in
Returns
PetscErrorCode

Reimplemented in IBPMSolver.

Definition at line 618 of file navierstokes.cpp.

◆ writeTimeHDF5()

PetscErrorCode NavierStokesSolver::writeTimeHDF5 ( const PetscReal &  t,
const std::string &  filePath 
)
protectedvirtualinherited

Write the time value into a HDF5 file.

Parameters
t[in] Time
filePath[in] Path of the file to write in
Returns
PetscErrorCode

Definition at line 797 of file navierstokes.cpp.

Member Data Documentation

◆ A

Mat NavierStokesSolver::A
protectedinherited

Implicit operator for the velocity solver.

Definition at line 155 of file navierstokes.h.

◆ bc

petibm::type::Boundary NavierStokesSolver::bc
protectedinherited

Information about the domain boundaries.

Definition at line 92 of file navierstokes.h.

◆ bc1

Vec NavierStokesSolver::bc1
protectedinherited

Inhomogeneous boundary terms for the velocity system.

Definition at line 167 of file navierstokes.h.

◆ BNG

Mat NavierStokesSolver::BNG
protectedinherited

Projection operator.

Definition at line 158 of file navierstokes.h.

◆ BNH

Mat DecoupledIBPMSolver::BNH
protectedinherited

Projection operator for the forces.

Definition at line 75 of file decoupledibpm.h.

◆ bodies

petibm::type::BodyPack DecoupledIBPMSolver::bodies
protectedinherited

Pack of immersed bodies.

Definition at line 60 of file decoupledibpm.h.

◆ comm

MPI_Comm NavierStokesSolver::comm
protectedinherited

MPI communicator.

Definition at line 77 of file navierstokes.h.

◆ commRank

PetscMPIInt NavierStokesSolver::commRank
protectedinherited

Rank of the process in the MPI communicator.

Definition at line 83 of file navierstokes.h.

◆ commSize

PetscMPIInt NavierStokesSolver::commSize
protectedinherited

Size of the MPI communicator.

Definition at line 80 of file navierstokes.h.

◆ config

YAML::Node NavierStokesSolver::config
protectedinherited

YAML configuration settings.

Definition at line 86 of file navierstokes.h.

◆ conv

std::vector<Vec> NavierStokesSolver::conv
protectedinherited

Explicit convective terms.

Definition at line 176 of file navierstokes.h.

◆ convCoeffs

petibm::type::TimeIntegration NavierStokesSolver::convCoeffs
protectedinherited

Time scheme for the convective terms.

Definition at line 98 of file navierstokes.h.

◆ D

Mat NavierStokesSolver::D
protectedinherited

Divergence operator.

Definition at line 146 of file navierstokes.h.

◆ DBNG

Mat NavierStokesSolver::DBNG
protectedinherited

Poisson operator.

Definition at line 161 of file navierstokes.h.

◆ DCorrection

Mat NavierStokesSolver::DCorrection
protectedinherited

Divergence correction for boundary conditions.

Definition at line 149 of file navierstokes.h.

◆ df

Vec DecoupledIBPMSolver::df
protectedinherited

Force-increment vector.

Definition at line 81 of file decoupledibpm.h.

◆ diff

std::vector<Vec> NavierStokesSolver::diff
protectedinherited

Explicit diffusion terms.

Definition at line 179 of file navierstokes.h.

◆ diffCoeffs

petibm::type::TimeIntegration NavierStokesSolver::diffCoeffs
protectedinherited

Time scheme for the diffusion terms.

Definition at line 101 of file navierstokes.h.

◆ dP

Vec NavierStokesSolver::dP
protectedinherited

Pressure-correction vector.

Definition at line 164 of file navierstokes.h.

◆ dt

PetscReal NavierStokesSolver::dt
protectedinherited

Time-step size.

Definition at line 113 of file navierstokes.h.

◆ E

Mat DecoupledIBPMSolver::E
protectedinherited

Regularization operator.

Definition at line 69 of file decoupledibpm.h.

◆ EBNH

Mat DecoupledIBPMSolver::EBNH
protectedinherited

Left-hand side operator of the system for the forces.

Definition at line 72 of file decoupledibpm.h.

◆ f

Vec DecoupledIBPMSolver::f
protectedinherited

Vector to hold the forces at time step n.

Definition at line 78 of file decoupledibpm.h.

◆ forcesViewer

PetscViewer DecoupledIBPMSolver::forcesViewer
protectedinherited

ASCII PetscViewer object to output the forces.

Definition at line 96 of file decoupledibpm.h.

◆ fSolver

petibm::type::LinSolver DecoupledIBPMSolver::fSolver
protectedinherited

Linear solver for the Lagrangian forces.

Definition at line 63 of file decoupledibpm.h.

◆ G

Mat NavierStokesSolver::G
protectedinherited

Gradient operator.

Definition at line 143 of file navierstokes.h.

◆ H

Mat DecoupledIBPMSolver::H
protectedinherited

Spreading operator.

Definition at line 66 of file decoupledibpm.h.

◆ isRefP

PetscBool NavierStokesSolver::isRefP
protectedinherited

True if we pin the pressure at a reference point.

Definition at line 182 of file navierstokes.h.

◆ ite

PetscInt NavierStokesSolver::ite
protectedinherited

Time-step index.

Definition at line 116 of file navierstokes.h.

◆ L

Mat NavierStokesSolver::L
protectedinherited

Laplacian operator.

Definition at line 137 of file navierstokes.h.

◆ LCorrection

Mat NavierStokesSolver::LCorrection
protectedinherited

Laplacian correction operator for boundary conditions.

Definition at line 140 of file navierstokes.h.

◆ mesh

petibm::type::Mesh NavierStokesSolver::mesh
protectedinherited

Structured Cartesian mesh object.

Definition at line 89 of file navierstokes.h.

◆ N

Mat NavierStokesSolver::N
protectedinherited

Convective operator (matrix-free).

Definition at line 152 of file navierstokes.h.

◆ nrestart

PetscInt NavierStokesSolver::nrestart
protectedinherited

Frequency at which data to restart are written to files.

Definition at line 131 of file navierstokes.h.

◆ nsave

PetscInt NavierStokesSolver::nsave
protectedinherited

Frequency at which the solution fields are written to files.

Definition at line 128 of file navierstokes.h.

◆ nstart

PetscInt NavierStokesSolver::nstart
protectedinherited

Starting time-step index.

Definition at line 122 of file navierstokes.h.

◆ nt

PetscInt NavierStokesSolver::nt
protectedinherited

Number of time steps to compute.

Definition at line 125 of file navierstokes.h.

◆ nu

PetscReal NavierStokesSolver::nu
protectedinherited

Viscous diffusion coefficient.

Definition at line 134 of file navierstokes.h.

◆ probes

std::vector<petibm::type::Probe> NavierStokesSolver::probes
protectedinherited

Probes to monitor the solution.

Definition at line 110 of file navierstokes.h.

◆ pSolver

petibm::type::LinSolver NavierStokesSolver::pSolver
protectedinherited

Poisson linear solver.

Definition at line 107 of file navierstokes.h.

◆ rhs1

Vec NavierStokesSolver::rhs1
protectedinherited

Right-hand side vector of the velocity system.

Definition at line 170 of file navierstokes.h.

◆ rhs2

Vec NavierStokesSolver::rhs2
protectedinherited

Right-hand side vector of the Poisson system.

Definition at line 173 of file navierstokes.h.

◆ rhsf

Vec DecoupledIBPMSolver::rhsf
protectedinherited

Right-hand side of the forces system.

Definition at line 84 of file decoupledibpm.h.

◆ solution

petibm::type::Solution NavierStokesSolver::solution
protectedinherited

Data object holding the velocity and pressure fields.

Definition at line 95 of file navierstokes.h.

◆ solversViewer

PetscViewer NavierStokesSolver::solversViewer
protectedinherited

ASCII PetscViewer object to output solvers info.

Definition at line 209 of file navierstokes.h.

◆ stageInitialize

PetscLogStage NavierStokesSolver::stageInitialize
protectedinherited

Log stage for the initialization phase.

Definition at line 185 of file navierstokes.h.

◆ stageIntegrateForces

PetscLogStage DecoupledIBPMSolver::stageIntegrateForces
protectedinherited

Log stage for integrating the Lagrangian forces.

Definition at line 93 of file decoupledibpm.h.

◆ stageMonitor

PetscLogStage NavierStokesSolver::stageMonitor
protectedinherited

Log stage for monitoring user-defined regions of the domain.

Definition at line 206 of file navierstokes.h.

◆ stageMoveIB

PetscLogStage RigidKinematicsSolver::stageMoveIB
protected

Log stage for moving the bodies.

Definition at line 62 of file rigidkinematics.h.

◆ stageRHSForces

PetscLogStage DecoupledIBPMSolver::stageRHSForces
protectedinherited

Log stage for assembling the RHS of the forces system.

Definition at line 87 of file decoupledibpm.h.

◆ stageRHSPoisson

PetscLogStage NavierStokesSolver::stageRHSPoisson
protectedinherited

Log stage for assembling the RHS of the Poisson system.

Definition at line 194 of file navierstokes.h.

◆ stageRHSVelocity

PetscLogStage NavierStokesSolver::stageRHSVelocity
protectedinherited

Log stage for assembling the RHS of the velocity system.

Definition at line 188 of file navierstokes.h.

◆ stageSolveForces

PetscLogStage DecoupledIBPMSolver::stageSolveForces
protectedinherited

Log stage for solving the forces system.

Definition at line 90 of file decoupledibpm.h.

◆ stageSolvePoisson

PetscLogStage NavierStokesSolver::stageSolvePoisson
protectedinherited

Log stage for solving the Poisson system.

Definition at line 197 of file navierstokes.h.

◆ stageSolveVelocity

PetscLogStage NavierStokesSolver::stageSolveVelocity
protectedinherited

Log stage for solving the velocity system.

Definition at line 191 of file navierstokes.h.

◆ stageUpdate

PetscLogStage NavierStokesSolver::stageUpdate
protectedinherited

Log stage for updating field variables.

Definition at line 200 of file navierstokes.h.

◆ stageWrite

PetscLogStage NavierStokesSolver::stageWrite
protectedinherited

Log stage when write the solution fields.

Definition at line 203 of file navierstokes.h.

◆ t

PetscReal NavierStokesSolver::t
protectedinherited

Time value.

Definition at line 119 of file navierstokes.h.

◆ UB

Vec RigidKinematicsSolver::UB
protected

Prescribed boundary velocity vector.

Definition at line 59 of file rigidkinematics.h.

◆ vSolver

petibm::type::LinSolver NavierStokesSolver::vSolver
protectedinherited

Velocity linear solver.

Definition at line 104 of file navierstokes.h.


The documentation for this class was generated from the following files: