Skip to main content

OpenTD reference 2026 R1

Class SF\_CoSolver

Last update: 09.03.2026

Namespace: OpenTD.CoSolver
Assembly: OpenTD.CoSolver.dll

Use SF_CoSolver to start a Sinda run via an input text file and communicate with it. Implements the Implements the

public class SF_CoSolver : CoSolver

Inheritance

object ← CoSolver ← SF_CoSolver

Inherited Members

CoSolver.Initialize(), CoSolver.InitializeTimeoutMs, CoSolver.SetupExperiment(), CoSolver.Abort(), CoSolver.DoStep(), CoSolver.Continue(), CoSolver.CouplingTimeStep, CoSolver.Converged, CoSolver.GetRegisterExpression(string), CoSolver.GetRegisterValue(string), CoSolver.SetRegisterExpression(string, double), CoSolver.GetValue(string, int, string), CoSolver.GetValue(int, string), CoSolver.GetValue(string), CoSolver.GetNodeSequenceNumber(string, int), CoSolver.GetPathSequenceNumber(string, int), CoSolver.GetCondSequenceNumber(string, int), CoSolver.GetTieSequenceNumber(string, int), CoSolver.GetLumpSequenceNumber(string, int), CoSolver.Set_Q_UDFA(string, int, double), CoSolver.SetValue(string, int, string, double), CoSolver.SetValue(int, string, double), CoSolver.SetValue(string, double), CoSolver.pipeID, CoSolver.sf_pipe, CoSolver.CreateSF_Pipe(), CoSolver.CloseSF_Pipe(), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

SF_CoSolver(string)

public SF_CoSolver(string inputFilePath)

Parameters

inputFilePath string

SF_CoSolver(string, string)

public SF_CoSolver(string inputFilePath, string communicationsPipeId)

Parameters

inputFilePath string

communicationsPipeId string

Properties

AdditionalCompileOptions

Add additional commandline switches for the compiler here. Example: '/warn:declarations'

public string AdditionalCompileOptions { get; set; }

Property Value

string

AdditionalLinkOptions

Add additional commandline switches for the linker here. Example: 'MyAddOnLibrary.lib'

public string AdditionalLinkOptions { get; set; }

Property Value

string

Cleanup

If true, Sinda will delete any temporary directories when finished. Defaults to true.

public bool Cleanup { get; set; }

Property Value

bool

InputPathname

The Sinda input deck to run. Relative pathnames are evaluated from the client program working directory.

public string InputPathname { get; set; }

Property Value

string

LicenseWait

public bool LicenseWait { get; set; }

Property Value

bool

PreprocessorOutputPathname

Preprocessor output pathname. Defaults to 'pp.out'. Relative pathnames are evaluated from the InputPathname directory.

public string PreprocessorOutputPathname { get; set; }

Property Value

string

SindaExePathname

By default, Run() will use the most-recent version of sinda.exe installed on your system. To force it to use a specific version, set SindaExePathname to the path to the sinda.exe you'd like to use. Relative paths are evaluated from the client program working directory.

public string SindaExePathname { get; set; }

Property Value

string

SindaFluintProcess

After calling Initalize(), use SindaFluintProcess to access the operating system process running Sinda.

public Process SindaFluintProcess { get; }

Property Value

Process

StatusWindows

If true, Sinda shows status windows during the run. Defaults to false;

public bool StatusWindows { get; set; }

Property Value

bool

UseOpenMP

public bool UseOpenMP { get; set; }

Property Value

bool

Methods

Initialize()

public override void Initialize()

See Also

CoSolver, ISF_RunConfig

Connect with Ansys