cuIBM
A GPU-based Immersed Boundary Method code
Main Page
Namespaces
Classes
Files
File List
File Members
src
solvers
DFModifiedSolver.h
Go to the documentation of this file.
1
7
#pragma once
8
9
#include "
DirectForcingSolver.h
"
10
11
24
template
<
typename
memoryType>
25
class
DFModifiedSolver
:
public
DirectForcingSolver
<memoryType>
26
{
27
protected
:
28
// compute and add explicit pressure gradient to RHS of velocity system
29
virtual
void
calculateExplicitLambdaTerms
();
30
31
// project velocity onto divergence-free space and update pressure
32
virtual
void
projectionStep
();
33
34
public
:
35
// constructor -- get simulation parameters and grid
36
DFModifiedSolver
(
parameterDB
*pDB=NULL,
domain
*dInfo=NULL);
37
41
virtual
std::string
name
()
42
{
43
return
"DFModified"
;
44
}
45
46
};
// DFModifiedSolver
DFModifiedSolver::DFModifiedSolver
DFModifiedSolver(parameterDB *pDB=NULL, domain *dInfo=NULL)
Constructor – get simulation parameters and grid.
Definition:
DFModifiedSolver.cu:16
DFModifiedSolver::calculateExplicitLambdaTerms
virtual void calculateExplicitLambdaTerms()
Compute and add the explicit pressure gradient to the RHS of velocity system.
Definition:
DFModifiedSolver.cu:27
DirectForcingSolver
A fully discrete formulation of the direct forcing method.
Definition:
DirectForcingSolver.h:27
parameterDB
std::map< std::string, componentParameter > parameterDB
Map from a string to a componentParameter.
Definition:
parameterDB.h:64
domain
Stores information about the computational grid.
Definition:
domain.h:16
DirectForcingSolver.h
Declaration of the class DirectForcingSolver.
DFModifiedSolver::name
virtual std::string name()
Return name of solver.
Definition:
DFModifiedSolver.h:41
DFModifiedSolver
A fully discrete formulation of the direct forcing method, with an explicit pressure term in the inte...
Definition:
DFModifiedSolver.h:25
DFModifiedSolver::projectionStep
virtual void projectionStep()
Project velocity field onto divergence-free space and update pressure.
Definition:
DFModifiedSolver.cu:40
Generated on Wed Jul 19 2017 12:27:42 for cuIBM by
1.8.11