Functions
create_fluid_and_solid_surface_mesh_from_fluid_xda_mesh.cc File Reference

Go to the source code of this file.

Functions

void create_fluid_and_solid_surface_mesh_from_fluid_xda_mesh (const std::string &file_name, const std::string &fluid_surface_file, const std::string &solid_surface_file, const double &wall_tickness, const bool &do_multi_boundary_ids=true)
 This driver code takes as input the mesh generated by VMTK in '.xda' format. More...
 
int main ()
 

Function Documentation

◆ create_fluid_and_solid_surface_mesh_from_fluid_xda_mesh()

void create_fluid_and_solid_surface_mesh_from_fluid_xda_mesh ( const std::string &  file_name,
const std::string &  fluid_surface_file,
const std::string &  solid_surface_file,
const double &  wall_tickness,
const bool &  do_multi_boundary_ids = true 
)

This driver code takes as input the mesh generated by VMTK in '.xda' format.

and the wall thickness. The outputs are the fluid and solid domain surfaces

the original Boundary Ids assigned by VMTK: Boundary 3


/ /
/ /
/ /
-------------—/ /
| /
Boundary 2 | /
| \ | \ -------------—\ \ Boundary 1 \ \ \ \ _____\ Boundary 4

In this code, we kept the same boundary numbers for the fluid surface. The boundary numbers for the Solid mesh are as follow :

                                             Boundary 3
                                           __      __
                                          / /     / /  
                             Boundary 5  / /     / /
                        |---------------/ /     / /
        Boundary 2      |----------------/     / /
                                              / /
                                             / /
                                             \ \                   .
                              Boundary 1      \ \
                        |----------------\     \ \
                        |---------------\ \     \ \
                                         \ \     \ \
                                          \ \     \ \
                                           --      --
                                             Boundary 4

Then we assigned to each face in the fluid mesh and in the solid mesh its own boubdary ID if the input bool do_multi_boundary_ids is true (because some functions in oomph-lib require that all faces with the same boundary ID should be planar). Find the boundary IDs informations in the end of the output '.poly' files.

Definition at line 86 of file create_fluid_and_solid_surface_mesh_from_fluid_xda_mesh.cc.

Referenced by main().

◆ main()

int main ( )