forked from EvertBunschoten/SU2_DataMiner
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgenerate_flamelet_data.py
More file actions
33 lines (29 loc) · 2.38 KB
/
Copy pathgenerate_flamelet_data.py
File metadata and controls
33 lines (29 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python3
###############################################################################################
# # _____ __ _____ ____ __ __ ____ # #
# # / ___// / / /__ \ / __ \____ _/ /_____ _/ |/ (_)___ ___ _____ # #
# # \__ \/ / / /__/ / / / / / __ `/ __/ __ `/ /|_/ / / __ \/ _ \/ ___/ # #
# # ___/ / /_/ // __/ / /_/ / /_/ / /_/ /_/ / / / / / / / / __/ / # #
# # /____/\____//____/ /_____/\__,_/\__/\__,_/_/ /_/_/_/ /_/\___/_/ # #
# # # #
###############################################################################################
######################### FILE NAME: generate_flamelet_data.py ################################
#=============================================================================================#
# author: Evert Bunschoten |
# :PhD Candidate , |
# :Flight Power and Propulsion |
# :TU Delft, |
# :The Netherlands |
# |
# |
# Description: |
# Calculate flamelets for hydrogen FGM tabulation test case. |
# Version: 3.1.0 |
# |
#=============================================================================================#
from su2dataminer.config import Config_FGM
from Data_Generation.DataGenerator_FGM import ComputeFlameletData
# Load FlameletAI configuration
Config = Config_FGM("TableGeneration.cfg")
# Distribute flamelet data generation process.
ComputeFlameletData(Config, run_parallel=True, N_processors=6)