A longitudinaly cooled helix with HDG method
In this test case we will simulate a longitudinaly cooled helix with the HDG method. We consider only the thermoelectric behaviour of the helix.
1. Running the case
mpirun -np 32 feelpp_toolbox_hdg_thermoelectric --config-file HL-31_H1.cfg
If you use the IBC feature to set the total current:
mpirun -np 32 feelpp_toolbox_hdg_thermoelectric --config-file HL-31_H1.cfg
The thermolelectric HDG method is detailed in this section. |
If you want to change the number of procs used, you need to create a proper partition mesh. See the next sections for a detailed guide.
1.1. Convert the mesh
The mesh may be converted into an another format using gmsh
compiled with proper med
support
gmsh -0 -bin HL-31_H1.med -o HL-31_H1.msh
The resulting mesh is in mm. For convergence sake, HDG method requires the mesh to be left in mm. As a consequence, remember that the physical properties of materials shall be scaled to "mm". |
1.2. Partitionning the mesh:
feelpp_mesh_partitioner --ifile HL-31_H1.msh [--ofile HL-31_H1_p32] --part 32
For calculation with IBC, it is mandatory to use the following command to properly partion the mesh:
where |
2. Data files
The data files may be retreived from this repository. The mesh files are stored in collection hifimanget/cases/v0.108/HL-31_H1-HDG collection on Unistra Girder