Commit 3abd1a0d authored by John Tourtellott's avatar John Tourtellott

Remove OpenFOAM.crf and replace with OpenFOAM.sbt

parent 5148a116
<?xml version="1.0"?>
<cmb-resources>
<!-- Simulation Attributes -->
<attribute id="simbuilder" role="template">
<include href="internal/openfoam-simbuilder.sbt" />
</attribute>
<!-- Export Attributes -->
<attribute id="export" role="template">
<SMTK_AttributeSystem Version="2">
<Definitions>
<AttDef Type="ExportSpec" Label="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<!--String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" /-->
<File Name="PythonScript" Label="Python script" Version="0" AdvanceLevel="0" NumberOfRequiredValues="1"
ShouldExist="true" FileFilters="Python files (*.py);;All files (*.*)">
<DefaultValue>OpenFOAM.py</DefaultValue>
</File>
<ModelEntity Name="model" Label="Model" Version="0" NumberOfRequiredValues="1" >
<MembershipMask>model</MembershipMask>
</ModelEntity>
<!-- <MeshEntity Name="mesh" Label="Mesh" Version="0" NumberOfRequiredValues="1" /> -->
<!--
<String Name="ProjectName" Label="Project Name" Version="0">
<BriefDescription>Name (prefix) to use for generated files</BriefDescription>
</String>
-->
<Directory Name="ProjectDir" Label="Project Directory" AdvanceLevel="1"
Optional="true" IsEnabledByDefault="false"
Version="0" NumberOfRequiredValues="1" ShouldExist="false">
<BriefDescription>Filesystem folder for all generated files -- SHOULD USE SESSION DIRECTORY</BriefDescription>
</Directory>
</ItemDefinitions>
</AttDef>
<AttDef Type="Parallel Settings" Label="Simulation" BaseType="" Version="0">
<ItemDefinitions>
<!--String Name="AnalysisTypes" Label="Analysis Types" Version="0" AdvanceLevel="99" NumberOfRequiredValues="1" Extensible="true" /-->
<Int Name="NumMPIProcess" Label="Number of MPI processes" AdvanceLevel="0">
<BriefDescription>The number of MPI processes to run OpenFOAM with (decomposeParDict::numberOfSubdomains)</BriefDescription>
<DefaultValue>8</DefaultValue>
<RangeInfo>
<Min Inclusive="true">1</Min>
</RangeInfo>
</Int>
</ItemDefinitions>
</AttDef>
</Definitions>
<Views>
<!-- CMB issues warning if top-level view isn't type Group -->
<View Type="Instanced" Title="Export" TopLevel="true"
FilterByAdvanceLevel="true" FilterByCategory="false">
<InstancedAttributes>
<Att Name="Options" Type="ExportSpec" />
<!-- Att Name="Parallel Settings" Type ="Parallel Settings" /-->
</InstancedAttributes>
</View>
</Views>
</SMTK_AttributeSystem>
</attribute>
</cmb-resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment