Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Data/TestFiles/cases/DamBreak3D/case/Allrun
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,13 @@ fi
runCommand createPatch -overwrite

# Set cell zones contained inside the .stl surfaces
runCommand topoSet -dict system/topoSetZonesDict
which createZones > /dev/null 2>&1
if [ $? == 0 ]
then
runCommand createZones -dict system/createZonesDict
else
runCommand topoSet -dict system/topoSetZonesDict
fi

# Set internal fields according to setFieldsDict
runCommand setFields
Expand Down
9 changes: 8 additions & 1 deletion Data/TestFiles/cases/DamBreak3D/case/Allrun.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ else
runCommand createPatch -overwrite

# Set cell zones contained inside the .stl surfaces
runCommand topoSet -dict system/topoSetZonesDict
if( (Get-Command createZones) )
{
runCommand createZones -dict system/createZonesDict
}
else
{
runCommand topoSet -dict system/topoSetZonesDict
}

# Set internal fields according to setFieldsDict
runCommand setFields
Expand Down