COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Functions | Variables
cf3::Tools::MeshGeneration Namespace Reference

Classes

class  LibMeshGeneration
 
struct  MeshSourceGlobalFixture
 

Functions

void build_serial_gids (Mesh &mesh)
 Helper function to build the GIDS in a serial mesh. More...
 
void create_line (mesh::Mesh &mesh, const Real x_len, const Uint x_segments)
 Create a 1D line mesh. More...
 
void create_rectangle (mesh::Mesh &mesh, const Real x_len, const Real y_len, const Uint x_segments, const Uint y_segments)
 Create a rectangular, 2D, quad-only mesh. No buffer for creation. More...
 
void create_rectangle_tris (mesh::Mesh &mesh, const Real x_len, const Real y_len, const Uint x_segments, const Uint y_segments)
 Create a triangulated version of a 2D rectangular grid. More...
 
void create_circle_2d (mesh::Mesh &mesh, const Real radius, const Uint segments, const Real start_angle=0., const Real end_angle=2.*math::Consts::pi())
 Creates a 2D circular arc. More...
 
void create_channel_3d (BlockArrays &blocks, const Real length, const Real half_height, const Real width, const Uint x_segs, const Uint y_segs_half, const Uint z_segs, const Real ratio)
 

Variables

cf3::common::RegistLibrary< LibMeshGenerationlibMeshGeneration
 

Function Documentation

void cf3::Tools::MeshGeneration::build_serial_gids ( Mesh mesh)

Helper function to build the GIDS in a serial mesh.

Definition at line 46 of file MeshGeneration.cpp.

void MeshGeneration_API create_channel_3d ( mesh::BlockMesh::BlockArrays blocks,
const Real  length,
const Real  half_height,
const Real  width,
const Uint  x_segs,
const Uint  y_segs_half,
const Uint  z_segs,
const Real  ratio 
)

Create block data for a 3D periodic channel (flow between infinite flat plates)

Parameters
lengthTotal distance between the streamwise periodic boundaries (X-direction)
half_heightHalf of the distance between the plates
widthTotal distance between periodic boundaries in the spanwise (Z) direction
x_segsNumber of segments in the X direction
y_segs_halfHALF the number of segements between the flat plates
z_segsNumber of segments in the Z-direction
ratioRatio (smallest cell / largest cell) in the Y-direction

Definition at line 406 of file MeshGeneration.cpp.

void MeshGeneration_API create_circle_2d ( Mesh mesh,
const Real  radius,
const Uint  segments,
const Real  start_angle,
const Real  end_angle 
)

Creates a 2D circular arc.

Definition at line 366 of file MeshGeneration.cpp.

void MeshGeneration_API create_line ( Mesh mesh,
const Real  x_len,
const Uint  x_segments 
)

Create a 1D line mesh.

Definition at line 61 of file MeshGeneration.cpp.

void MeshGeneration_API create_rectangle ( Mesh mesh,
const Real  x_len,
const Real  y_len,
const Uint  x_segments,
const Uint  y_segments 
)

Create a rectangular, 2D, quad-only mesh. No buffer for creation.

Definition at line 102 of file MeshGeneration.cpp.

void MeshGeneration_API create_rectangle_tris ( Mesh mesh,
const Real  x_len,
const Real  y_len,
const Uint  x_segments,
const Uint  y_segments 
)

Create a triangulated version of a 2D rectangular grid.

Definition at line 209 of file MeshGeneration.cpp.

Variable Documentation

Definition at line 15 of file LibMeshGeneration.cpp.

Send comments to:
COOLFluiD Web Admin