modifysu2cfg(inputf​ile, outputfile, varargin)

Version 1.0.0.0 (2,94 KB) von Qin CHEN
Modify SU2_CFD configuration file.
179 Downloads
Aktualisiert 27. Okt 2014

Lizenz anzeigen

% 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
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0