IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Lib.SimJMatProConst Class Reference

Constants for interface with the JMatPro software (the SimJMatProFileManager and derived classes). More...

Public Attributes

const string LockFileMutexName = "Global\\IG.Lib.SimJMatProInterface.LockFileMutex"
 
const string BaseNameVersion4_0 = "JMatPro-4.0"
 Base name (for executable file and its containing directory) for version 4.0. More...
 
const string DefaultExecutableName = "JMatPro-4.0.exe"
 Default name of the executable (interace for each version will define this differently). More...
 
const string ProcessNameSubstringJava = "javaw"
 Substring of java virtual machine process name. More...
 
const string ProcessNameSubstringJMatMain = "JMatPro"
 Substring of JMatPro main process name. More...
 
const string ProcessNameSubstringJMatSolver = "solver"
 Substring of JMatPro solver process name. More...
 
const string JmatCompositionRelativepath = "inits/compos.ini"
 Relative path of the JMatPro material composition file. More...
 
const string JMatCompositionFilename = "compos.ini"
 JMatPro compsition file name. More...
 
const string JMatResultsRelativePath = "export/data/0000.dat"
 JMatPro result file relative path. More...
 
const string JMatResultsFilename = "0000.dat"
 JMatPro material results file name. More...
 
const int JMatResultsMinimalSize = 1000
 Minimal size of the material results file, used to verify validity of results. More...
 
const int JMatResultsGoodSize = 150000
 Size of the materials result file that is considered a good size - the file should be at least of this size if calculation was performed without errors. More...
 
const string JMatCompletionDetectionRelativePath = @"temp\coldfire.out"
 Relative path of the file by which we detect whether calculation is still going on. More...
 
const double JMatCompletionDetectionSleepTimeSeconds = 0.1
 Sleep time in seconds used in detection whether JMatPro calculation has finished or whether JMatPro results have been saved. More...
 
const int JmatCompletionDetectionSize = 2000
 Minimal size of calculation detection file above which calculation is considered finished. More...
 
const double JMatBeforeSaveSleepTimeSeconds = 3.5
 Waiting time (in seconds) after last increase in file size used before assuming that calculation is finished, to eventually prevent too early detection that calculation was finished. More...
 
const double JMatTimeoutWaitCalculationSeconds = 40 * 60
 Timeout for waiting completion of calculation, in seconds. More...
 
const int JMatResultsSavedDetectionSize = 2000
 Minimal size of result file file, above which saving results can be considered finished. More...
 
const double JMatBeforeResultsSavedSleepTimeSeconds = 1.5
 Waiting time (in seconds) after last increase in file size used before assuming that saving result is finished, to eventually prevent too early detection that calculation was finished. More...
 
const double JMatTimeoutWaitResultsSavedSeconds = 10.0
 Timeout for waiting until results are completely saved, in seconds. More...
 
const string SettingsFileName = "settingsjmat.json"
 Default settings file name. More...
 
const string SettingsTemplateFilename = "settingsAll.json"
 Default name of the template file where settings are saved. More...
 
const string NitrogenSymbol = "N"
 
const string DataDefinitionSupersetFilename = "datadefinitionsuperset.json"
 Name of the file containing definition data for the superset of all input parameters and output values. More...
 
const string DataDefinitionJMatFilename = "datadefinitionjmat.json"
 Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters). More...
 
const string DataDefinitionProcessFilename = "datadefinitionproc.json"
 Name of the file containing data definition for all process input and output parameters. More...
 
const string DataDefinitionJointFilename = "datadefinitionjoint.json"
 Name of the file containing data definition for all material and process input and output parameters. More...
 
const string DataDefinitionJMatFilenameNoNitrogen = "datadefinitionjmatnonitrogen.json"
 Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters) WITHOUT NITROGEN fraction (excluded for faster calculations). More...
 
const string DataDefinitionJointFilenameNoNitrogen = "datadefinitionjointnonitrogen.json"
 Name of the file containing data definition for all material and process input and output parameters WITHOUT NITROGEN fraction (excluded for faster calculations). More...
 
const string UserInteractionCommand = "keymouse"
 
const string DefaultUserInteractionRecordDir = @"d:\users\workspaceprojects\12_09_jmatpro\records\"
 
const string UserInteractionRecordExtension = ".pam"
 
const string UserInteractionRecordNameStartJMat = "jmatstart"
 Name of the user interaction record for starting JMatPro software via Windows GUI. More...
 
const string UserInteractionRecordNameCloseJMat = "jmatclose"
 Name of the user interaction record for closing JMatPro software normally via GUI. More...
 
const string UserInteractionRecordNameRepairJMat = "jmatrepair"
 Name of the user interaction record for repairing JMatPro software. More...
 
const string UserInteractionRecordNameStartCalculation = "jmatrun"
 Name of the user interaction record for running JMatPro calculation (program must be launched before). More...
 
const string UserInteractionRecordNameSaveResults = "jmatsave"
 Name of the user interaction record for saving JMatPro results (must be performed after calculation is finished). More...
 
const string UserInteractionRecordNameChangeTemperatureUnit = "jmatchtempunit"
 
const string UserInteractionRecordNameChangeFractionUnit = "jmatchfracunit"
 
const double WaitSleepTime = 0.1
 Sleeping time for waiting in loops. More...
 
const string RootDataDirectoryName = "materialdata"
 
const string LogfileName = "log.txt"
 
const string DataDirectoryPrefix = "material_"
 
const string MaterialParametersFilename = "materialparameters.json"
 Name of the file containing vector of material parameters. More...
 
const string MaterialParametersDefFilename = "materialparametersdef.json"
 Name of the file containing vector of material parameters in form of default input values in the data definition file. More...
 
const string MsgMaterialCalculationBusyFilename = "busy.msg"
 Name of the message file indicating that material calculation is still busy. More...
 
const string MsgMaterialCalculationTimedoutFilename = "materialcalculationtimeout.msg"
 Name of the message file indicating that material calculation has timed out. More...
 
const string MsgMaterialResultsWrongFilename = "materialresultswrong.msg"
 Name of the message file indicating that material results are incorrect. More...
 
const string MsgMaterialCalculationFinishedFilename = "materialcalculated.msg"
 Name of the message file indicating that material calculation has successfully finished. More...
 
const string StorageMaterialCalculatedDirectoryname = "00storage_materialcalculated"
 Default name of the storage directory for material directories for which material properties have been successfully calculated. More...
 
const string StorageBusyFlagSetDirectoryname = "00storage_busyset"
 Default name of the storage directory for material directories for which busy flag remained set. More...
 
const string StorageTimedoutDirectoryname = "00storage_timedout"
 Default name of the storage directory for material directories for which material properties calculation has timed out. More...
 
const string StorageMaterialCalculationFailedDirectoryname = "00storage_materialcalculationfailed"
 Default name of the storage directory for material directories for which calculation of material properties has failed. More...
 
const string StorageMaterialDataCorruptedDirectoryname = "00storage_materialdatacorrupted"
 Default name of the storage directory for material directories in which material data is corrupted (e.g. material parameters are not written properly). More...
 
const string RootSimulationDirectoryName = "simulators"
 Root directory for numerical simulations. More...
 
const string SimulatorDirectoryPrefix = "sim_"
 Prefix for simulatior directories. More...
 
const string SimulatorBaseTemplateDirectoryName = "sim"
 Name of the simulator template directory. More...
 
const string SimulatorCastingRobertDirectoryname = "Sim_main"
 Name of the Robert's casting simulator directory. More...
 
const string SimulatorCastingRobertProjectName = "SS"
 Default project name for the robert Vertnik's casting simulator. More...
 
const string SimulatorCastingRobertSimulationName = "DUMMY_01"
 Default simulation name for the robert Vertnik's casting simulator. More...
 

Static Public Attributes

static string[] DefaultExecutableContainingDirectories
 Foreseen location of the JMatPro installation directory. More...
 

Detailed Description

Constants for interface with the JMatPro software (the SimJMatProFileManager and derived classes).

Member Data Documentation

const string IG.Lib.SimJMatProConst.LockFileMutexName = "Global\\IG.Lib.SimJMatProInterface.LockFileMutex"
string [] IG.Lib.SimJMatProConst.DefaultExecutableContainingDirectories
static
Initial value:
= new string[]
{
"C:/",
"C:/Program Files",
"Program Files (x86)"
}

Foreseen location of the JMatPro installation directory.

const string IG.Lib.SimJMatProConst.BaseNameVersion4_0 = "JMatPro-4.0"

Base name (for executable file and its containing directory) for version 4.0.

const string IG.Lib.SimJMatProConst.DefaultExecutableName = "JMatPro-4.0.exe"

Default name of the executable (interace for each version will define this differently).

const string IG.Lib.SimJMatProConst.ProcessNameSubstringJava = "javaw"

Substring of java virtual machine process name.

const string IG.Lib.SimJMatProConst.ProcessNameSubstringJMatMain = "JMatPro"

Substring of JMatPro main process name.

const string IG.Lib.SimJMatProConst.ProcessNameSubstringJMatSolver = "solver"

Substring of JMatPro solver process name.

const string IG.Lib.SimJMatProConst.JmatCompositionRelativepath = "inits/compos.ini"

Relative path of the JMatPro material composition file.

const string IG.Lib.SimJMatProConst.JMatCompositionFilename = "compos.ini"

JMatPro compsition file name.

const string IG.Lib.SimJMatProConst.JMatResultsRelativePath = "export/data/0000.dat"

JMatPro result file relative path.

const string IG.Lib.SimJMatProConst.JMatResultsFilename = "0000.dat"

JMatPro material results file name.

const int IG.Lib.SimJMatProConst.JMatResultsMinimalSize = 1000

Minimal size of the material results file, used to verify validity of results.

const int IG.Lib.SimJMatProConst.JMatResultsGoodSize = 150000

Size of the materials result file that is considered a good size - the file should be at least of this size if calculation was performed without errors.

const string IG.Lib.SimJMatProConst.JMatCompletionDetectionRelativePath = @"temp\coldfire.out"

Relative path of the file by which we detect whether calculation is still going on.

const double IG.Lib.SimJMatProConst.JMatCompletionDetectionSleepTimeSeconds = 0.1

Sleep time in seconds used in detection whether JMatPro calculation has finished or whether JMatPro results have been saved.

const int IG.Lib.SimJMatProConst.JmatCompletionDetectionSize = 2000

Minimal size of calculation detection file above which calculation is considered finished.

const double IG.Lib.SimJMatProConst.JMatBeforeSaveSleepTimeSeconds = 3.5

Waiting time (in seconds) after last increase in file size used before assuming that calculation is finished, to eventually prevent too early detection that calculation was finished.

const double IG.Lib.SimJMatProConst.JMatTimeoutWaitCalculationSeconds = 40 * 60

Timeout for waiting completion of calculation, in seconds.

If greater than 0 and results of calculation are waiter for more time than the timeout specifies, waiting is broken and it is considered that calculation could not be completed.

const int IG.Lib.SimJMatProConst.JMatResultsSavedDetectionSize = 2000

Minimal size of result file file, above which saving results can be considered finished.

const double IG.Lib.SimJMatProConst.JMatBeforeResultsSavedSleepTimeSeconds = 1.5

Waiting time (in seconds) after last increase in file size used before assuming that saving result is finished, to eventually prevent too early detection that calculation was finished.

const double IG.Lib.SimJMatProConst.JMatTimeoutWaitResultsSavedSeconds = 10.0

Timeout for waiting until results are completely saved, in seconds.

If greater than 0 and saving results is waited for more time than the timeout specifies, waiting is broken and it is considered that saving could not be completed.

const string IG.Lib.SimJMatProConst.SettingsFileName = "settingsjmat.json"

Default settings file name.

Referenced by IG.Num.SimJMatProFileManagerBase.SimJMatProFileManagerBase().

const string IG.Lib.SimJMatProConst.SettingsTemplateFilename = "settingsAll.json"

Default name of the template file where settings are saved.

Referenced by IG.Num.SimJMatProFileManagerBase.PrepareSettingsTemplate().

const string IG.Lib.SimJMatProConst.NitrogenSymbol = "N"
const string IG.Lib.SimJMatProConst.DataDefinitionSupersetFilename = "datadefinitionsuperset.json"

Name of the file containing definition data for the superset of all input parameters and output values.

This file may contain descriptions for more parameters and output values than those used, but it must contain all these parameters.

const string IG.Lib.SimJMatProConst.DataDefinitionJMatFilename = "datadefinitionjmat.json"

Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters).

const string IG.Lib.SimJMatProConst.DataDefinitionProcessFilename = "datadefinitionproc.json"

Name of the file containing data definition for all process input and output parameters.

const string IG.Lib.SimJMatProConst.DataDefinitionJointFilename = "datadefinitionjoint.json"

Name of the file containing data definition for all material and process input and output parameters.

const string IG.Lib.SimJMatProConst.DataDefinitionJMatFilenameNoNitrogen = "datadefinitionjmatnonitrogen.json"

Name of the file containing data definition for all JMatPro input parameters (i.e. material composition expressed as mass fractions for individual parameters) WITHOUT NITROGEN fraction (excluded for faster calculations).

const string IG.Lib.SimJMatProConst.DataDefinitionJointFilenameNoNitrogen = "datadefinitionjointnonitrogen.json"

Name of the file containing data definition for all material and process input and output parameters WITHOUT NITROGEN fraction (excluded for faster calculations).

const string IG.Lib.SimJMatProConst.UserInteractionCommand = "keymouse"
const string IG.Lib.SimJMatProConst.DefaultUserInteractionRecordDir = @"d:\users\workspaceprojects\12_09_jmatpro\records\"
const string IG.Lib.SimJMatProConst.UserInteractionRecordExtension = ".pam"
const string IG.Lib.SimJMatProConst.UserInteractionRecordNameStartJMat = "jmatstart"

Name of the user interaction record for starting JMatPro software via Windows GUI.

const string IG.Lib.SimJMatProConst.UserInteractionRecordNameCloseJMat = "jmatclose"

Name of the user interaction record for closing JMatPro software normally via GUI.

const string IG.Lib.SimJMatProConst.UserInteractionRecordNameRepairJMat = "jmatrepair"

Name of the user interaction record for repairing JMatPro software.

const string IG.Lib.SimJMatProConst.UserInteractionRecordNameStartCalculation = "jmatrun"

Name of the user interaction record for running JMatPro calculation (program must be launched before).

const string IG.Lib.SimJMatProConst.UserInteractionRecordNameSaveResults = "jmatsave"

Name of the user interaction record for saving JMatPro results (must be performed after calculation is finished).

const string IG.Lib.SimJMatProConst.UserInteractionRecordNameChangeTemperatureUnit = "jmatchtempunit"
const string IG.Lib.SimJMatProConst.UserInteractionRecordNameChangeFractionUnit = "jmatchfracunit"
const double IG.Lib.SimJMatProConst.WaitSleepTime = 0.1

Sleeping time for waiting in loops.

const string IG.Lib.SimJMatProConst.RootDataDirectoryName = "materialdata"
const string IG.Lib.SimJMatProConst.LogfileName = "log.txt"
const string IG.Lib.SimJMatProConst.DataDirectoryPrefix = "material_"
const string IG.Lib.SimJMatProConst.MaterialParametersFilename = "materialparameters.json"

Name of the file containing vector of material parameters.

const string IG.Lib.SimJMatProConst.MaterialParametersDefFilename = "materialparametersdef.json"

Name of the file containing vector of material parameters in form of default input values in the data definition file.

const string IG.Lib.SimJMatProConst.MsgMaterialCalculationBusyFilename = "busy.msg"

Name of the message file indicating that material calculation is still busy.

const string IG.Lib.SimJMatProConst.MsgMaterialCalculationTimedoutFilename = "materialcalculationtimeout.msg"

Name of the message file indicating that material calculation has timed out.

const string IG.Lib.SimJMatProConst.MsgMaterialResultsWrongFilename = "materialresultswrong.msg"

Name of the message file indicating that material results are incorrect.

const string IG.Lib.SimJMatProConst.MsgMaterialCalculationFinishedFilename = "materialcalculated.msg"

Name of the message file indicating that material calculation has successfully finished.

const string IG.Lib.SimJMatProConst.StorageMaterialCalculatedDirectoryname = "00storage_materialcalculated"

Default name of the storage directory for material directories for which material properties have been successfully calculated.

const string IG.Lib.SimJMatProConst.StorageBusyFlagSetDirectoryname = "00storage_busyset"

Default name of the storage directory for material directories for which busy flag remained set.

const string IG.Lib.SimJMatProConst.StorageTimedoutDirectoryname = "00storage_timedout"

Default name of the storage directory for material directories for which material properties calculation has timed out.

const string IG.Lib.SimJMatProConst.StorageMaterialCalculationFailedDirectoryname = "00storage_materialcalculationfailed"

Default name of the storage directory for material directories for which calculation of material properties has failed.

const string IG.Lib.SimJMatProConst.StorageMaterialDataCorruptedDirectoryname = "00storage_materialdatacorrupted"

Default name of the storage directory for material directories in which material data is corrupted (e.g. material parameters are not written properly).

const string IG.Lib.SimJMatProConst.RootSimulationDirectoryName = "simulators"

Root directory for numerical simulations.

const string IG.Lib.SimJMatProConst.SimulatorDirectoryPrefix = "sim_"

Prefix for simulatior directories.

Referenced by IG.Num.SimJMatProFileManagerBase.GetSimulatorBaseDirectoryName().

const string IG.Lib.SimJMatProConst.SimulatorBaseTemplateDirectoryName = "sim"

Name of the simulator template directory.

const string IG.Lib.SimJMatProConst.SimulatorCastingRobertDirectoryname = "Sim_main"

Name of the Robert's casting simulator directory.

const string IG.Lib.SimJMatProConst.SimulatorCastingRobertProjectName = "SS"

Default project name for the robert Vertnik's casting simulator.

const string IG.Lib.SimJMatProConst.SimulatorCastingRobertSimulationName = "DUMMY_01"

Default simulation name for the robert Vertnik's casting simulator.


The documentation for this class was generated from the following file: