A typical pre-process to construct a convergent-divergent nozzle (Laval nozzel) as an artificial eigenmode for a simulation with TRACE comprises the following steps:
- Optional: remove possibly existing eigenmodes (to make sure that no mode with the same name is already present in the CGNS file) (see removeAllEigenmodes)
- Write surface deformations as an artificial mode into the CGNS file, by using the sub-option '–nozzle' (see Artificial mode 'Nozzle')
- Perform 3D grid deformation (see deformation) and write the deformed grid to file
Using the sub-option '–nozzle'
- Example
- Create a nozzle by deforming a simple annular duct using an artificial eigenmode:
PREP -cgns TRACE.cgns --mapping --nozzle -0.005 0.8 0.815 0.85 -pf row01Hub_Wall row01Tip_Wall -mn LavalNozzle
PREP -cgns TRACE.cgns --deformation -mn LavalNozzle -vwe 0.5 -dt 1e-8 -wdg ./TRACE.withLavalNozzle.cgns
- Note
- Hub and tip walls can not be part of the same panel family since the averaged normal vector of the panel family is used to determine the sign of the displacement.
- Example
- Overlay the nozzle with an eigenmode to vary the nozzle geometry in an unsteady simulation
PREP -cgns TRACE.withLavalNozzle.cgns --removeAllEigenmodes
PREP -cgns TRACE.withLavalNozzle.cgns --mapping --nozzle -0.005 0.8 0.815 0.85 -pf row01Hub_Wall row01Tip_Wall -mn LavalNozzle
PREP -cgns TRACE.withLavalNozzle.cgns --deformation -mn LavalNozzle -vwe 0.5 -dt 1e-8