This repository contains test cases in normal shock flow, Couette flow, 2D pressure-driven flow in microchannel for the DGFS Full Boltzmann solver. The solver can be found in the following repository https://github.com/DGFSproj/DGFS-BE-Solver
This example demonstrates how to run a 2D Couette flow simulation using the DGFS-BE solver.
Obtain the following files:
dgfs_2d_couette.geo— GMSH geometry and mesh definition filedgfs_2d_couette.ini— DGFS configuration file (contains solver settings, initial/boundary conditions, etc.)
Use GMSH to generate a .msh mesh file from the .geo definition:
gmsh -2 dgfs_2d_couette.geoThis will produce dgfs_2d_couette.msh.
(Optional) To visualize the mesh:
gmsh dgfs_2d_couette.mshConvert the GMSH mesh to DGFS-native .frfsm format:
frfs import dgfs_2d_couette.msh mesh.frfsmThis will produce mesh.frfsm.
Execute the solver using CUDA backend:
frfs run mesh.frfsm dgfs_2d_couette.ini -b cudaThis will produce solution output files with the .frfss extension inside the case directory, with frequency set in configuration file .ini.
To convert .frfss files into .vtu format for visualization:
frfs export mesh.frfsm bulksol_dgfs_2d_couette-10.0.frfss bulksol_dgfs_2d_couette-10.0.frfss.vtu -d 16-d 16means that each DG element is subdivided into 16 sub-elements for smoother visualization- The output
.vtufile can be visualized with ParaView or Tecplot
To visualize using Tecplot:
tec360 bulksol_dgfs_2d_couette-10.0.frfss.vtuhttps://freshkiss3d.gitlabpages.inria.fr/freshkiss3d/auto_examples_mesh/example_generate_mesh.html
http://www.manpagez.com/info/gmsh/gmsh-2.2.6/gmsh_47.php
https://www.manpagez.com/info/gmsh/gmsh-2.4.0/gmsh_69.php
https://openfoamwiki.net/index.php/2D_Mesh_Tutorial_using_GMSH
