Difference between revisions of "Synthetic Turbulence Inflow Generator"

From PHASTA Wiki
Jump to: navigation, search
(Created page with "Synthetic Turbulence Inflow Generator (STG) == Overview == The Synthetic Turbulence Inflow generator is a method to produce an inflow boundary condition that results in turbu...")
 
(Overview)
Line 3: Line 3:
 
== Overview ==
 
== Overview ==
 
The Synthetic Turbulence Inflow generator is a method to produce an inflow boundary condition that results in turbulent flow in a short downstream distance. This method is desired to be more computationally efficient than resolving a flow through from transition. This page will cover the workflow to produce the necessary auxiliary files for running a simulation with the STG boundary condition.
 
The Synthetic Turbulence Inflow generator is a method to produce an inflow boundary condition that results in turbulent flow in a short downstream distance. This method is desired to be more computationally efficient than resolving a flow through from transition. This page will cover the workflow to produce the necessary auxiliary files for running a simulation with the STG boundary condition.
* [[PHASTA_Group_Machines|Logging in]]
+
There are three auxiliary files that are needed for the method in the n-procs_case directory at runtime:
* [[VNC|Setting up your VNC]]
+
* STGInflow.dat
* [[UNIX|Getting started with Linux]]
+
* STGSpectra.dat
* [[Git | Getting Git]]
+
* STGRand.dat
* [[Vim|Getting comfortable with Vim]]
+
 
* Getting started with CMake
+
= STGInflow.dat =
* [[Fortran|New to Fortran?]]
+
This is a file that will contain the mean velocity profiles, mean cross correlation targets, and any additional turbulence modeled scalars.
* Working with C++.
+
= STGSpectra.dat =
* [[Making A New Wiki | Editing this Wiki]]
+
This file will contain the N spectral modes for each node that has the STG the boundary condition.
 +
= STGRand.dat =
 +
This file will contain random numbers for the N spectral modes. This is not a spatially varying set of numbers as the spectra is.
  
 
== Preperation of Auxiliary Files ==
 
== Preperation of Auxiliary Files ==

Revision as of 16:31, 22 February 2021

Synthetic Turbulence Inflow Generator (STG)

Overview

The Synthetic Turbulence Inflow generator is a method to produce an inflow boundary condition that results in turbulent flow in a short downstream distance. This method is desired to be more computationally efficient than resolving a flow through from transition. This page will cover the workflow to produce the necessary auxiliary files for running a simulation with the STG boundary condition. There are three auxiliary files that are needed for the method in the n-procs_case directory at runtime:

  • STGInflow.dat
  • STGSpectra.dat
  • STGRand.dat

STGInflow.dat

This is a file that will contain the mean velocity profiles, mean cross correlation targets, and any additional turbulence modeled scalars.

STGSpectra.dat

This file will contain the N spectral modes for each node that has the STG the boundary condition.

STGRand.dat

This file will contain random numbers for the N spectral modes. This is not a spatially varying set of numbers as the spectra is.

Preperation of Auxiliary Files

Running the code