modifysu2cfg(inputfile, outputfile, varargin)
% MODIFYSU2CFG is designed to modify and/or add Option lines.
% For example, to swap Mach number or boundary inlet conditions.
% MODIFYSU2CFG('turb_NACA0012.cfg',...
% 'test_config.cfg', ...
% 'MESH_FILENAME', 'test_grid.su2',...
% 'AoA', AoA, ...
% 'REYNOLDS_NUMBER', 3*10^6,...
% 'MACH_NUMBER',0.15,...
% 'FREESTREAM_TURBULENCEINTENSITY',0.001,...
% 'FREESTREAM_TURB2LAMVISCRATIO', 100.0,...
% 'KIND_TURB_MODEL', 'SST');
%
% It will copy turb_NACA0012.cfg to test_config.cfg with changed options for
% MESH_FILENAME, AoA, etc.
%
% All the options must be pared with OptionName and OptionValue, if
% OptionValue are number with size [1,1], it can be left as number;
% otherwise, it can only be character sequence. For Matlab tradition, the
% function can be use as command line tools as:
%
% MODIFYSU2CFG turb_NACA0012.cfg test_config.cfg OptionName OptValue
%
% All the arguments will be regarded as string automatically.
% See SU2 homepages for more information, http://su2.stanford.edu/
Zitieren als
Qin CHEN (2025). modifysu2cfg(inputfile, outputfile, varargin) (https://de.mathworks.com/matlabcentral/fileexchange/48275-modifysu2cfg-inputfile-outputfile-varargin), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Aerospace and Defense > Aerospace Blockset > Guidance, Navigation, and Control (GNC) >
- Engineering > Mechanical Engineering > Computational Fluid Dynamics (CFD) >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
