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

An utility that calculates vorticity fields. More...

#include <iomanip>
#include <sstream>
#include <petsc.h>
#include <petscviewerhdf5.h>
#include <yaml-cpp/yaml.h>
#include <petibm/boundary.h>
#include <petibm/io.h>
#include <petibm/mesh.h>
#include <petibm/parser.h>
#include <petibm/solution.h>
#include <petibm/type.h>

Go to the source code of this file.

Functions

PetscErrorCode initVorticityMesh (const petibm::type::Mesh &mesh, petibm::type::IntVec2D &n, petibm::type::RealVec3D &coord, std::vector< DM > &wDMs, std::vector< std::string > &names, std::vector< Vec > &vecs)
 
PetscErrorCode calculateVorticity2D (const petibm::type::Mesh &mesh, const petibm::type::Boundary &bds, const petibm::type::Solution &soln, const std::vector< DM > &wDm, std::vector< Vec > &w)
 
PetscErrorCode calculateVorticity3D (const petibm::type::Mesh &mesh, const petibm::type::Boundary &bds, const petibm::type::Solution &soln, const std::vector< DM > &wDm, std::vector< Vec > &w)
 
int main (int argc, char **argv)
 

Detailed Description

An utility that calculates vorticity fields.

License
BSD 3-Clause License.
See also
Post-processing utility: vorticity

Definition in file main.cpp.

Function Documentation

◆ calculateVorticity2D()

PetscErrorCode calculateVorticity2D ( const petibm::type::Mesh mesh,
const petibm::type::Boundary bds,
const petibm::type::Solution soln,
const std::vector< DM > &  wDm,
std::vector< Vec > &  w 
)

Definition at line 185 of file main.cpp.

◆ calculateVorticity3D()

PetscErrorCode calculateVorticity3D ( const petibm::type::Mesh mesh,
const petibm::type::Boundary bds,
const petibm::type::Solution soln,
const std::vector< DM > &  wDm,
std::vector< Vec > &  w 
)

Definition at line 259 of file main.cpp.

◆ initVorticityMesh()

PetscErrorCode initVorticityMesh ( const petibm::type::Mesh mesh,
petibm::type::IntVec2D n,
petibm::type::RealVec3D coord,
std::vector< DM > &  wDMs,
std::vector< std::string > &  names,
std::vector< Vec > &  vecs 
)

Definition at line 373 of file main.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 62 of file main.cpp.