Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yohei iter module #251

Open
wants to merge 236 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
8ed7a05
Fixed (bnd.) cell ranges and extend them to faces.
Niceno Feb 19, 2023
1c55e05
Renamed regions to ranges in Generator.
Niceno Feb 19, 2023
5bcfc92
Shared/Boundary_Mod.f90 -> Shared/Region_Mod.f90
Niceno Feb 20, 2023
a5361a2
Continuation of previous commit:
Niceno Feb 20, 2023
07e4b8e
Added a better test for shadows with assertion.
Niceno Feb 21, 2023
58b29cf
Uses MPI_IN_PLACE to avoid local memory allocation
Niceno Feb 22, 2023
6a08570
Renamed n_regions to n_bnd_regions
Niceno Feb 22, 2023
91845f4
Uses face and cell ranges and macros for browsing
Niceno Feb 22, 2023
4bdb58a
Added include statement for macros
Niceno Feb 22, 2023
cf7ca1e
IMPORTANT: Essence of the fix to cell ranges!
Niceno Feb 22, 2023
647017a
Unfortunate, but every time cell numbering changes
Niceno Feb 22, 2023
fd2978e
Added macro "Cells_In_Region"
Niceno Feb 22, 2023
304d771
Uses macro Boundary_Regions()
Niceno Feb 22, 2023
5f5b4ff
Uses macros Cells_In_Region and Boundary_Regions
Niceno Feb 22, 2023
7d2b0ec
VERY IMPORTANT FIX in calculation of wall distance
Niceno Feb 22, 2023
2379560
Uses macros for browsing.
Niceno Feb 22, 2023
c98022a
User_Mod can now include macros.
Niceno Feb 22, 2023
49a2cdb
GOOD: Got rid of the ghost "-1" marks.
Niceno Feb 24, 2023
5226bff
Got rid of all of them density contraptions here
Niceno Feb 24, 2023
0910527
Started using browsing macros in Vof_Mod.
Niceno Feb 24, 2023
bac4e41
IMPORTANT FIX to bounary cell ranges.
Niceno Feb 25, 2023
96e5d75
VERY GOOD: Assert adapted for parallel runs
Niceno Feb 25, 2023
cebe8b9
Former HUGE_INT became EULER, and HUGE_INT is 2^30
Niceno Feb 25, 2023
895f089
Domain_Mod became a class.
Niceno Feb 26, 2023
516947f
Added intention to input arguments.
Niceno Feb 26, 2023
95aad32
Ranges are allocated centrally, from one function
Niceno Feb 26, 2023
8ad92e9
IMPORTANT: Fixed the bug with browsing cells.
Niceno Feb 26, 2023
c86d29b
Corrected an error in the script for Generate
Niceno Feb 27, 2023
5804a94
Uses macro to integrate force.
Niceno Feb 27, 2023
cceebae
Corrected a little missalignement in output
Niceno Feb 27, 2023
db18774
Renamed two functions in Grid_Mod
Niceno Feb 27, 2023
7a8500d
IMPORTANT: Fixed allocation issue with Dual meshes
Niceno Feb 27, 2023
ec835b2
Further use of browsing macros.
Niceno Feb 28, 2023
3b82daa
Fixed Convert for cases of purely tetrahedra grid
Niceno Feb 28, 2023
b934148
Fixed VOF initialization from STL
Niceno Mar 1, 2023
b85af33
Improved conversion from GMSH in terms of speed
Niceno Mar 2, 2023
f90701d
Removed unused declaration and changed a comment
Niceno Mar 2, 2023
0a44340
Further improvements of speed of conversion
Niceno Mar 2, 2023
9abcb00
Uses regions for Reynods stress models
Niceno Mar 3, 2023
9af8965
Uses regions for one, two and four equation models
Niceno Mar 3, 2023
d5aee9f
Merge branch 'main' of https://github.com/DelNov/T-Flows into bojan_f…
Niceno Mar 3, 2023
38f036d
Fixed the Spalart-Allmaras model in convective
Niceno Mar 6, 2023
d7c395f
Makes a distinguishment for Bnd_Cond_Name function
Niceno Mar 7, 2023
0c2dc94
Avoids zillion messages when opening control file
Niceno Mar 7, 2023
c348186
Calculate_Fluxes.f90 -> Calculate_Bulk_Fluxes.f90
Niceno Mar 7, 2023
680b697
Following commit:
Niceno Mar 7, 2023
a64cccb
Updates for OPENMP options in makefiles
Niceno Mar 8, 2023
191bcdd
Added Save_Vtk_Face to Grid_Mod
Niceno Mar 9, 2023
4110165
Added Save_Vtk_Face to Grid_Mod
Niceno Mar 9, 2023
44261ec
Changed format of the written numbers.
Niceno Mar 9, 2023
a22ac35
Added three new asserts.
Niceno Mar 10, 2023
bb154a6
Added a check for boundary cells.
Niceno Mar 10, 2023
162de1b
Check if there are boundary conditions are defined
Niceno Mar 10, 2023
b9acdfd
Transfered improved gradients for pressure to here
Niceno Mar 11, 2023
8d9a343
Made output 2 characters wider.
Niceno Mar 12, 2023
7de243b
Made Tokenizer's only member procedure pure.
Niceno Mar 12, 2023
6317d86
New member function "First_Upper" in String_Dom
Niceno Mar 12, 2023
42ea75b
Default option for OPENMP in Process is "no"
Niceno Mar 12, 2023
97ad86c
Updated makefile dependencies.
Niceno Mar 12, 2023
f9611ef
Forgotten file from commit:
Niceno Mar 12, 2023
0e5695e
Fine adjustments to position of profiler.
Niceno Mar 12, 2023
98b4e1a
Computes all three gradient componetns in one loop
Niceno Mar 12, 2023
957bd2b
IMPORTANT: OpenMP for gradient calculation
Niceno Mar 12, 2023
4243e1f
Important: OpenMP for linear solvers.
Niceno Mar 12, 2023
1a28a78
Merge branch 'bojan_omp_grad'
Niceno Mar 12, 2023
ee85432
Merge branch 'main' into bojan_fixed_cell_ranges
Niceno Mar 12, 2023
ba0f49b
Preparations for threading for OpenMP and alike
Niceno Mar 13, 2023
b883c86
Merge branch 'main' from origin
Niceno Mar 13, 2023
8339a68
Fixed output @ default user function for particles
Niceno Mar 13, 2023
c49fa02
As a constant, Program_Name should be upper case
Niceno Mar 13, 2023
538859f
Embryo of implementation of threads for OpenMP
Niceno Mar 13, 2023
6426e0d
Saves threads and cell inertia (long forgotten)
Niceno Mar 13, 2023
574087f
Added a script for Divide
Niceno Mar 13, 2023
0e87141
Introduced Grid % Determine_Threads
Niceno Mar 14, 2023
b880cc8
IMPORTANT: Renamed option OPENMP to OMP
Niceno Mar 14, 2023
807fa3e
Gave member function a more meaningful name:
Niceno Mar 14, 2023
6178fdf
Gave another member function more meaningful name:
Niceno Mar 14, 2023
79f18d3
Added a missing "!$omp end parallel do"
Niceno Mar 14, 2023
01e04e7
Added an additional check on how faces are sorted
Niceno Mar 14, 2023
d40f021
New macro: Cells_In_Buffers()
Niceno Mar 15, 2023
5f588cb
Call to Determine_Threads is better of in Main_Pro
Niceno Mar 15, 2023
bed15f6
RISKY: Removed a condition when forming copy bcs
Niceno Mar 15, 2023
8881b08
cell_glo and node_glo are now arrays.
Niceno Mar 15, 2023
5fbcc80
Modernized and cleand the coding a little bit.
Niceno Mar 15, 2023
890437a
Two modifications to the Grid_Mod:
Niceno Mar 15, 2023
e016292
Limits division in threads only to inside cells.
Niceno Mar 15, 2023
963c1cd
Added a self-check to Form_Cells_Comm
Niceno Mar 15, 2023
2669fb1
NEAT: Uses macros for browsing
Niceno Mar 15, 2023
827664b
Uses simpler test for self-checking
Niceno Mar 15, 2023
f7a9b05
Got rid of OPENMP options (it is obsolete by now)
Niceno Mar 15, 2023
3795e28
Insignificant: Corrected a case for variable.
Niceno Mar 16, 2023
b50959b
Important: Introduced module for OpenMP: Vect_Mod
Niceno Mar 16, 2023
7e76fd9
Simplified version of defining threads.
Niceno Mar 16, 2023
3afe8fa
Good: introduced an optional integer array to plot
Niceno Mar 16, 2023
929d3f9
Introduced face_thread to Vect_Type
Niceno Mar 16, 2023
8332825
First version which determines face threads.
Niceno Mar 16, 2023
adcfb12
Member procedures in separate files for Vect_Mod
Niceno Mar 16, 2023
e3d11d9
Added a possibility to print used time in seconds.
Niceno Mar 16, 2023
7398ca4
Added a case to test different OpenMP loops.
Niceno Mar 16, 2023
460844f
Removed compilation tests from here.
Niceno Mar 17, 2023
718daea
IMPORTANT: Spud up native linear solvers by 14%
Niceno Mar 17, 2023
ddabd05
Renamed a local variable to be like in Prec_Solve
Niceno Mar 17, 2023
e9616fa
Juiced a wee bit more performance here.
Niceno Mar 17, 2023
c36f7ee
Improved declarations a bit.
Niceno Mar 18, 2023
09d688e
Juiced a fraction of percentage point in OMP speed
Niceno Mar 18, 2023
5048877
Better alignment for reporting in seconds.
Niceno Mar 18, 2023
c60408a
Expanded makefiles with options for profiling
Niceno Mar 18, 2023
4992f5e
Uses Message_Mod for error messages.
Niceno Mar 19, 2023
d20e402
Uses Message_Mod for error messages.
Niceno Mar 19, 2023
d184e5d
Some crap
Niceno Mar 19, 2023
a23c275
Deleted unused local variables.
Niceno Mar 20, 2023
8c1af1f
Uses Message_Mod for error messages.
Niceno Mar 20, 2023
cba8069
A way to avoid too many warnings while compiling
Niceno Mar 20, 2023
6ad8496
Makes use of some local variables.
Niceno Mar 21, 2023
f00f260
Corrected an error in makefile_explicit_depen...
Niceno Mar 21, 2023
bf8e045
This is an amendment to previous check in, reading
Niceno Mar 21, 2023
e19b239
FINALLY: imposed separate options for User_Mod
Niceno Mar 21, 2023
28e9fdb
PROGRAM_NAME is now parameter in Const_Mod.
Niceno Mar 21, 2023
370e91b
Profiler_Mod reads control file for PROFILER_INFO
Niceno Mar 21, 2023
132fb95
Profiler_Mod reads control file for PROFILER_INFO
Niceno Mar 21, 2023
443abe6
Didn't want to push unless I make a pull :-S
Niceno Mar 21, 2023
6f29642
Spreading browsing macros to Turb_Mod.
Niceno Mar 22, 2023
3d65244
Updated comment in a makefile, insignificant
Niceno Mar 22, 2023
4a71474
Added a little comment, nothing really.
Niceno Mar 22, 2023
31faca9
Fixed intentions.
Niceno Mar 22, 2023
a957b07
Renamed all member functions in Results_Mod.
Niceno Mar 22, 2023
225ea1d
Backup_Type became a class, a full-fledged one
Niceno Mar 22, 2023
3ac96ba
Some update tests from the workstation
Niceno Mar 22, 2023
e328de8
Uses browsing macro.
Niceno Mar 23, 2023
3c7f4cd
Calls Message module for error.
Niceno Mar 23, 2023
413444b
Track front instead of surface.
Niceno Mar 23, 2023
efca804
Calculate distance from the wall in Convert
Niceno Mar 23, 2023
edc6800
Changed some local variable names in Backup_Mod
Niceno Mar 23, 2023
9ba45c4
Added an STL file
Niceno Mar 23, 2023
eacc70a
Two changes in test_build.sh
Niceno Mar 23, 2023
8ee3b09
Merge branch 'bojan_updated_tests'
Niceno Mar 23, 2023
4a22c7c
Fixed compilation for Nvidia's Fortran.
Niceno Mar 24, 2023
0f03428
No idea how this file ended up here. Gone now!
Niceno Mar 24, 2023
3f3b4c2
IMPORTANT: this_proc and n_proc no longer global!
Niceno Mar 24, 2023
d9bf9d3
Modifications necessary for Nvidia Fortran
Niceno Mar 24, 2023
7658dea
OK, this is kind of smart.
Niceno Mar 24, 2023
591e292
Insignificant little change in the document.
Niceno Mar 24, 2023
21c5069
Added
Niceno Mar 24, 2023
6ddb77e
Found a proper way to deal with \ for Nvidia
Niceno Mar 25, 2023
7056a19
For compilation with Nvidia Fortran
Niceno Mar 25, 2023
970f297
Prescribed intention in many procedures
Niceno Mar 25, 2023
4750135
Added Nvidia compiler
Niceno Mar 25, 2023
cf0fbaa
Introduced object Global for global communication
Niceno Mar 25, 2023
f205dbb
Fixed PETSc compilation
Niceno Mar 25, 2023
c9639d2
Added Nvidia compiler - again. Go figure.
Niceno Mar 25, 2023
940da1b
Merge branch 'bojan_more_robust_communicator'
Niceno Mar 25, 2023
655addf
Updated T-Flows syntax file.
Niceno Mar 25, 2023
cc0cd9f
Little updates to T-Flows syntax file
Niceno Mar 25, 2023
c35632b
Adjusted line widths here and there; not important
Niceno Mar 26, 2023
0f0feb9
Updated Fortran syntax file a little bit.
Niceno Mar 26, 2023
c0354a2
Ditched some unused files.
Niceno Mar 26, 2023
55a7e5c
Little updates.
Niceno Mar 26, 2023
f312eb8
Small cosmetic changes.
Niceno Mar 26, 2023
d133cb9
Little updates
Niceno Mar 27, 2023
8ec20fd
Added some files for the laminar heat exchanger
Niceno Mar 27, 2023
39e8ba5
Removed very old solvers.
Niceno Mar 27, 2023
e16e584
Merge branch 'bojan_more_robust_communicator'
Niceno Mar 27, 2023
9578ede
One more little update to syntax highlighting file
Niceno Mar 27, 2023
19a23fd
Fixed PETSc compilation - again.
Niceno Mar 27, 2023
4a9894b
Added a missing keyword. How did it go missing?
Niceno Mar 27, 2023
b5a8402
Added a couple of STL files. They are rather small
Niceno Mar 27, 2023
4d522f5
Correction to a number of control files.
Niceno Mar 27, 2023
994e420
Merge branch 'bojan_more_robust_communicator'
Niceno Mar 27, 2023
c136c1b
Inserted a few comments
Niceno Mar 28, 2023
af38539
IMPORTANT: Fixed the keyword for phase capacities!
Niceno Mar 28, 2023
a0fb092
Changed alignement and removed obsolete entries
Niceno Mar 28, 2023
ee549a1
IMPORTANT: Removed an extra blank like ...
Niceno Mar 28, 2023
fa30df8
Cosmetic changes in control files
Niceno Mar 28, 2023
ac57fa7
Introduced vim syntax files for control
Niceno Mar 28, 2023
bd83521
IMPORTANT: Fixed the profiler!!!
Niceno Mar 28, 2023
3a7cc69
Set profiler info to be in seconds, just for kicks
Niceno Mar 28, 2023
6bc188d
Shortened the syntax for Profiler.
Niceno Mar 28, 2023
ee18bf8
Introduced macros for RSM
Niceno Mar 28, 2023
2b6356d
Had to go back with User_Mod savings
Niceno Mar 28, 2023
5cf1eca
Merge branch 'bojan_more_robust_communicator'
Niceno Mar 28, 2023
614c2f1
Updated User_Mod_Save_Results with macros.
Niceno Mar 28, 2023
f6af8f3
This is more a warning than an error
Niceno Mar 29, 2023
9178486
Convenient: creates .pvtu file for Front
Niceno Mar 30, 2023
ac4ec73
Got rid of some redundant declarations for indents
Niceno Mar 30, 2023
ce8ae15
Added a new member procedure: Volume_Average!
Niceno Mar 31, 2023
f9810b0
Fixed: k_epsilon was missing in the list of models
Niceno Apr 1, 2023
3dc0098
Little reconstruction of the Info_Mod.
Niceno Apr 1, 2023
745dbf4
Further reconstruction of Info_Mod.
Niceno Apr 1, 2023
e0a630b
Little updates
Niceno Apr 1, 2023
f794e6b
Interesting - Info_Mod wasn't working with intent
Niceno Apr 1, 2023
424e04d
Spread macros further in Turb_Mod.
Niceno Apr 1, 2023
5d0dfcf
Juiced couple of percent in performance ...
Niceno Apr 1, 2023
13e3074
Calls profiling functions
Niceno Apr 1, 2023
0b60fef
Saves and checks the version of the files
Niceno Apr 2, 2023
3b3956f
Modernizing Control_Mod; step 1
Niceno Apr 2, 2023
c5877f6
Modernizing Control_Mod; step 2
Niceno Apr 2, 2023
ee7f424
Modernizing Control_Mod; step 3
Niceno Apr 2, 2023
e1c16f8
Modernizing Control_Mod; step 4
Niceno Apr 2, 2023
cd0c507
Modernizing Control_Mod; step 4
Niceno Apr 2, 2023
c6be282
Merge branch 'bojan_more_robust_communicator'
Niceno Apr 2, 2023
1183a10
Added a few missing items to syntax
Niceno Apr 2, 2023
8ce7ded
Added three former global Comm functions to member
Niceno Apr 2, 2023
ac1b2f9
Updates in Comm_Mod and (a bit less) Control_Mod
Niceno Apr 2, 2023
ffbd3a2
Improved internal structure of Control_Mod a bit
Niceno Apr 3, 2023
8d61d11
Reduced the size of Tokenizer to avoid warnings
Niceno Apr 3, 2023
7a568c8
Fixed line indentation - insignificant.
Niceno Apr 5, 2023
8e201c0
Last modification proved to be a pain in the neck
Niceno Apr 5, 2023
f0202da
An error has be reduced to warning.
Niceno Apr 5, 2023
4a0a90d
Resolved compiler warning for Tokenizer again
Niceno Apr 5, 2023
36b7fcf
IMPORTANT: changed the orientation of cells' faces
Niceno Apr 5, 2023
a3ec392
Gives a proper name in Save_Debug_Front_Vtu.
Niceno Apr 5, 2023
e4ad915
Some updates in vim control file
Niceno Apr 6, 2023
9d8ab30
A small update!
Niceno Apr 15, 2023
339619c
Introduced Time_Type class and its object Time
Niceno Apr 16, 2023
1d0282f
Small update in Fortran syntax
Niceno Apr 16, 2023
28a063a
Implicit none was missing everywhere in Time_Mod!
Niceno Apr 19, 2023
aa96745
IMPORTANT: Introduced Iter_Mod
Niceno Apr 19, 2023
e367760
Nothing really, updated a comment.
Niceno Apr 20, 2023
67afe64
Updates in syntax for control and Fortran sources
Niceno Apr 20, 2023
8c2e0a8
IMPORTANT FIX!
Niceno Apr 20, 2023
2c9126e
IMPORTANT: Tidied up the controls for solvers!
Niceno Apr 20, 2023
7b4e96a
A commented block to check if matrix is symmetric
Niceno Apr 20, 2023
b8161fc
Expanded comments in Petsc_Mod a little bit.
Niceno Apr 20, 2023
292d557
Updated links to PETSc man pages.
Niceno Apr 20, 2023
520bfa5
Tried to fix the test for Heat_Exchanger/2_Domains
Niceno Apr 20, 2023
26044eb
Fixed the check for scalars
Niceno Apr 22, 2023
6ae0518
fix typo: FORTRAN
yohei-sato-psi Apr 26, 2023
98b933b
bug fixed: DataArray -> PDataArray
yohei-sato-psi Apr 27, 2023
65d06ae
bug fixed: format
yohei-sato-psi Apr 27, 2023
a6df247
avoid divided-by-zero
yohei-sato-psi Apr 27, 2023
cfb11ce
Calculate Courant number after UDF
yohei-sato-psi Apr 27, 2023
c1a4c8a
implement wall adhesion force (contact angle model) correctly
yohei-sato-psi Apr 27, 2023
f299950
calculate Courant number after UDF
yohei-sato-psi Apr 27, 2023
c22506f
include physical time into vtu files
yohei-sato-psi Apr 27, 2023
e02e07a
allow initial condition for vof as real in addition to stl-file
yohei-sato-psi Apr 29, 2023
617a7a7
introduce keyword "SAVE_RESULTS_UNIT" in control. Units in vtu-file, …
yohei-sato-psi May 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Documentation/Syntax/.vim/ftdetect/control.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
autocmd BufNewFile,BufRead control* setf control
256 changes: 256 additions & 0 deletions Documentation/Syntax/.vim/syntax/control.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
" Vim syntax file
" Language: control

au BufNewFile,BufRead control* setf control

" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif

" ==============================================================================
" Comments:
syn region controlComment start="\#" end="\n"
syn region controlComment start="\!" end="\n"
syn region controlComment start="%" end="\n"

" List of keyords was obtained with command:
" cat ../Documentation/all_control_keywords | awk '{print "syn keyword controlKeyword " $1}' | grep -v '|' | grep -v KEYWORD
" ==============================================================================
" Mandatory problem name and boundary conditions
syn keyword controlKeyword PROBLEM_NAME
syn keyword controlKeyword BOUNDARY_CONDITION
syn keyword controlKeyword TYPE
syn keyword controlKeyword VARIABLES
syn keyword controlKeyword VALUES
syn keyword controlKeyword FILE
syn keyword controlKeyword INTERFACE_CONDITION
syn keyword controlKeyword BOUNDARY_CONDITIONS
" Some other non-mandatory but often used kewords
syn keyword controlKeyword INITIAL_CONDITION
syn keyword controlKeyword SYNTHETIC_EDDIES
syn keyword controlKeyword NUMBER_OF_EDDIES
syn keyword controlKeyword MAX_EDDY_RADIUS
syn keyword controlKeyword EDDY_INTENSITY
" Input-output
syn keyword controlKeyword BACKUP_SAVE_INTERVAL
syn keyword controlKeyword LOAD_BACKUP_NAME
syn keyword controlKeyword NUMBER_OF_MONITORING_POINTS
syn keyword controlKeyword MONITORING_POINT_001
syn keyword controlKeyword MONITORING_POINT_002
syn keyword controlKeyword MONITORING_POINT_003
syn keyword controlKeyword MONITORING_POINT_004
syn keyword controlKeyword MONITORING_POINT_005
syn keyword controlKeyword MONITORING_POINT_006
syn keyword controlKeyword MONITORING_POINT_007
syn keyword controlKeyword MONITORING_POINT_008
syn keyword controlKeyword MONITORING_POINT_009
syn keyword controlKeyword MONITORING_POINT_010
syn keyword controlKeyword MONITORING_POINT_011
syn keyword controlKeyword MONITORING_POINT_012
syn keyword controlKeyword MONITORING_POINT_013
syn keyword controlKeyword MONITORING_POINT_014
syn keyword controlKeyword MONITORING_POINT_015
syn keyword controlKeyword MONITORING_POINT_016
syn keyword controlKeyword RESULTS_SAVE_INTERVAL
syn keyword controlKeyword SAVE_BACKUP_NAME
syn keyword controlKeyword SAVE_INITIAL_CONDITION
syn keyword controlKeyword SAVE_RESULTS_AT_BOUNDARIES
syn keyword controlKeyword SWARM_SAVE_INTERVAL
syn keyword controlKeyword WALL_TIME_MAX_HOURS
syn keyword controlKeyword PROFILER_INFO
" Numerics
syn keyword controlKeyword ADVECTION_SCHEME_FOR_ENERGY
syn keyword controlKeyword ADVECTION_SCHEME_FOR_MOMENTUM
syn keyword controlKeyword ADVECTION_SCHEME_FOR_SCALARS
syn keyword controlKeyword ADVECTION_SCHEME_FOR_TURBULENCE
syn keyword controlKeyword ADVECTION_SCHEME_FOR_VOF
syn keyword controlKeyword BLENDING_COEFFICIENT_FOR_ENERGY
syn keyword controlKeyword BLENDING_COEFFICIENT_FOR_MOMENTUM
syn keyword controlKeyword BLENDING_COEFFICIENT_FOR_SCALARS
syn keyword controlKeyword BLENDING_COEFFICIENT_FOR_TURBULENCE
syn keyword controlKeyword BLENDING_COEFFICIENT_FOR_VOF
syn keyword controlKeyword CHOI_CORRECTION
syn keyword controlKeyword GRADIENT_METHOD_FOR_ENERGY
syn keyword controlKeyword GRADIENT_METHOD_FOR_MOMENTUM
syn keyword controlKeyword GRADIENT_METHOD_FOR_PRESSURE
syn keyword controlKeyword GRADIENT_METHOD_FOR_SCALARS
syn keyword controlKeyword GRADIENT_METHOD_FOR_TURBULENCE
syn keyword controlKeyword GRADIENT_METHOD_FOR_VOF
syn keyword controlKeyword GRADIENT_METHOD_FOR_WALL_DISTANCE
syn keyword controlKeyword GU_CORRECTION
syn keyword controlKeyword LINEAR_SOLVERS
syn keyword controlKeyword MAX_CORRECTION_CYCLES_BETA_VOF
syn keyword controlKeyword MAX_COURANT_VOF
syn keyword controlKeyword MAX_GAUSS_GRADIENTS_ITERATIONS
syn keyword controlKeyword MAX_ITERATIONS_FOR_ENERGY_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_MOMENTUM_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_POTENTIAL_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_PRESSURE_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_SCALARS_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_TURBULENCE_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_VOF_SOLVER
syn keyword controlKeyword MAX_ITERATIONS_FOR_WALL_DISTANCE_SOLVER
syn keyword controlKeyword MAX_LEAST_SQUARES_GRADIENTS_ITERATIONS
syn keyword controlKeyword MAX_SIMPLE_ITERATIONS
syn keyword controlKeyword MAX_SMOOTHING_CYCLES_CURVATURE_VOF
syn keyword controlKeyword MAX_SMOOTHING_CYCLES_NORMAL_VOF
syn keyword controlKeyword MAX_SUBSTEP_CYCLES_VOF
syn keyword controlKeyword MAX_THREADS
syn keyword controlKeyword MIN_SIMPLE_ITERATIONS
syn keyword controlKeyword NORMALIZATION_FOR_ENERGY_SOLVER
syn keyword controlKeyword NORMALIZATION_FOR_MOMENTUM_SOLVER
syn keyword controlKeyword NORMALIZATION_FOR_PRESSURE_SOLVER
syn keyword controlKeyword NORMALIZATION_FOR_SIMPLE_ALGORITHM
syn keyword controlKeyword NORMALIZATION_FOR_SCALARS_SOLVER
syn keyword controlKeyword NORMALIZATION_FOR_TURBULENCE_SOLVER
syn keyword controlKeyword NUMBER_OF_PISO_CORRECTIONS
syn keyword controlKeyword NUMBER_OF_TIME_STEPS
syn keyword controlKeyword NUMBER_OF_SWARM_SUB_STEPS
syn keyword controlKeyword PRECONDITIONER_FOR_SYSTEM_MATRIX
syn keyword controlKeyword PRESSURE_MOMENTUM_COUPLING
syn keyword controlKeyword REPORT_VOLUME_BALANCE
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_ENERGY
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_MOMENTUM
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_PRESSURE
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_SCALARS
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_TURBULENCE
syn keyword controlKeyword SIMPLE_UNDERRELAXATION_FOR_VOF
syn keyword controlKeyword SKEWNESS_CORRECTION_VOF
syn keyword controlKeyword SOLVER_FOR_ENERGY
syn keyword controlKeyword SOLVER_FOR_MOMENTUM
syn keyword controlKeyword SOLVER_FOR_POTENTIAL
syn keyword controlKeyword SOLVER_FOR_PRESSURE
syn keyword controlKeyword SOLVER_FOR_SCALARS
syn keyword controlKeyword SOLVER_FOR_TURBULENCE
syn keyword controlKeyword SOLVER_FOR_VOF
syn keyword controlKeyword SOLVER_FOR_WALL_DISTANCE
syn keyword controlKeyword TIME_INTEGRATION_SCHEME
syn keyword controlKeyword TIME_STEP
syn keyword controlKeyword TOLERANCE_FOR_GAUSS_GRADIENTS
syn keyword controlKeyword TOLERANCE_FOR_ENERGY_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_MOMENTUM_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_POTENTIAL_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_PRESSURE_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_SIMPLE_ALGORITHM
syn keyword controlKeyword TOLERANCE_FOR_SCALARS_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_TURBULENCE_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_VOF_SOLVER
syn keyword controlKeyword TOLERANCE_FOR_WALL_DISTANCE_SOLVER
" PETSc options
syn keyword controlKeyword PETSC_OPTIONS_FOR_MOMENTUM
syn keyword controlKeyword PETSC_OPTIONS_FOR_PRESSURE
syn keyword controlKeyword PETSC_OPTIONS_FOR_WALL_DISTANCE
syn keyword controlKeyword PETSC_OPTIONS_FOR_POTENTIAL
syn keyword controlKeyword PETSC_OPTIONS_FOR_VOF
syn keyword controlKeyword PETSC_OPTIONS_FOR_ENERGY
syn keyword controlKeyword PETSC_OPTIONS_FOR_SCALARS
syn keyword controlKeyword PETSC_OPTIONS_FOR_TURBULENCE
syn keyword controlKeyword SOLVER
syn keyword controlKeyword PREC
syn keyword controlKeyword PREC_OPTS
syn keyword controlKeyword TOLERANCE
" Physics
syn keyword controlKeyword ANGULAR_VELOCITY_VECTOR
syn keyword controlKeyword BUOYANCY
syn keyword controlKeyword DYNAMIC_VISCOSITY
syn keyword controlKeyword EXTRAPOLATE_TEMPERATURE_EXP
syn keyword controlKeyword GRAVITATIONAL_VECTOR
syn keyword controlKeyword HEAT_CAPACITY
syn keyword controlKeyword HEAT_TRANSFER
syn keyword controlKeyword HYBRID_LES_RANS_SWITCH
syn keyword controlKeyword INTERFACE_TRACKING
syn keyword controlKeyword LATENT_HEAT
syn keyword controlKeyword MASS_DENSITY
syn keyword controlKeyword MASS_FLOW_RATES
syn keyword controlKeyword MASS_TRANSFER
syn keyword controlKeyword MAX_PARTICLES
syn keyword controlKeyword NUMBER_OF_DOMAINS
syn keyword controlKeyword NUMBER_OF_PHASES
syn keyword controlKeyword NUMBER_OF_SCALARS
syn keyword controlKeyword NUMBER_OF_SWARM_SUBSTEPS
syn keyword controlKeyword PARTICLE_TRACKING
syn keyword controlKeyword PHASE_DENSITIES
syn keyword controlKeyword PHASE_VISCOSITIES
syn keyword controlKeyword PHASE_CAPACITIES
syn keyword controlKeyword PHASE_CONDUCTIVITIES
syn keyword controlKeyword POINT_FOR_MONITORING_PLANES
syn keyword controlKeyword POTENTIAL_INITIALIZATION
syn keyword controlKeyword PRESSURE_DROPS
syn keyword controlKeyword REFERENCE_DENSITY
syn keyword controlKeyword REFERENCE_TEMPERATURE
syn keyword controlKeyword ROUGHNESS_COEFFICIENT
syn keyword controlKeyword ROUGH_WALLS
syn keyword controlKeyword SATURATION_TEMPERATURE
syn keyword controlKeyword SCALARS_DIFFUSIVITY
syn keyword controlKeyword SMAGORINSKY_CONSTANT
syn keyword controlKeyword STARTING_TIME_STEP_FOR_SWARM_COMPUTATION
syn keyword controlKeyword STARTING_TIME_STEP_FOR_SWARM_STATISTICS
syn keyword controlKeyword STARTING_TIME_STEP_FOR_TURB_STATISTICS
syn keyword controlKeyword SURFACE_TENSION
syn keyword controlKeyword SWARM_COEFFICIENT_OF_RESTITUTION
syn keyword controlKeyword SWARM_DENSITY
syn keyword controlKeyword SWARM_DIAMETER
syn keyword controlKeyword SWARM_SUBGRID_SCALE_MODEL
syn keyword controlKeyword THERMAL_CONDUCTIVITY
syn keyword controlKeyword TRACK_FRONT
syn keyword controlKeyword TRACK_SURFACE
syn keyword controlKeyword TURBULENCE_MODEL
syn keyword controlKeyword TURBULENCE_MODEL_VARIANT
syn keyword controlKeyword TURBULENT_HEAT_FLUX_MODEL
syn keyword controlKeyword TURBULENT_PRANDTL_NUMBER
syn keyword controlKeyword TURBULENT_SCHMIDT_NUMBER
syn keyword controlKeyword VOLUME_EXPANSION_COEFFICIENT
" Porous regions
syn keyword controlKeyword NUMBER_OF_POROUS_REGIONS
syn keyword controlKeyword POROUS_REGION_001
syn keyword controlKeyword POROUS_REGION_002
syn keyword controlKeyword POROUS_REGION_003
syn keyword controlKeyword POROUS_REGION_004
syn keyword controlKeyword POROUS_REGION_005
syn keyword controlKeyword POROUS_REGION_006
syn keyword controlKeyword POROUS_REGION_007
syn keyword controlKeyword POROUS_REGION_008
syn keyword controlKeyword POROUS_REGION_009
syn keyword controlKeyword POROUS_REGION_010
syn keyword controlKeyword POROUS_REGION_011
syn keyword controlKeyword POROUS_REGION_012
syn keyword controlKeyword POROUS_REGION_013
syn keyword controlKeyword POROUS_REGION_014
syn keyword controlKeyword POROUS_REGION_015
syn keyword controlKeyword POROUS_REGION_016
syn keyword controlKeyword STL_FILE

" ==============================================================================
" Numbers (integer must be before the float, otherwise things get messed up)
syn match controlInteger "-\=\<[0-9]*\>"
syn match controlFloat "-\=\d\+\.\d*\([eE][-+]\=\d\+\)\=[fl]\=\>"

" Intrinsic (these are T-Flows variables)
syn keyword controlIntrinsic u v w t q p kin eps zeta f22 uu vv ww uv uw vw vof vof_c_ang
syn keyword controlIntrinsic c_01 c_02 c_03 c_04 c_05 c_06 q_01 q_02 q_03 q_04 q_05 q_06
syn keyword controlIntrinsic x y z rx ry rz
syn keyword controlBoundaryConditon wall inflow outflow pressure convective symmetry
syn keyword controlLinearSolvers native petsc cg bicg incomplete_cholesky diagonal none asm hypre
syn keyword controlNumericalParameters simple piso linear parabolic gauss_theorem least_squares
syn keyword controlNumericalParameters central smart luds quick smart gamma minmod blended superbee avl_smart
syn keyword controlNumericalParameters cicsam upwind stacs
syn keyword controlNumericalParameters yes no
syn keyword controlTurbulenceModels k_eps_zeta_f k_eps les_tvm les_wal les_dynamic les_smagorinsky hybrid_les_prandtl
syn keyword controlTurbulenceModels des_spalart spalart_allmaras dns rsm_hanjalic_jakirlic rsm_manceau_hanjalic dns none
syn keyword controlTurbulenceModels high_re low_re ggdh sgdh afm

" ==============================================================================
" The default methods for highlighting. Can be overridden later.
hi def link controlKeyword Type
hi def link controlComment Comment
hi def link controlInteger Number
hi def link controlFloat Number
hi def link controlIntrinsic Identifier
hi def link controlBoundaryConditon Keyword
hi def link controlLinearSolvers Keyword
hi def link controlNumericalParameters Keyword
hi def link controlTurbulenceModels Keyword

let b:current_syntax = "control"

Loading