Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port trivial cases #151

Merged
merged 26 commits into from
Feb 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a568404
Restructure 3D Tube case
davidscn Jan 28, 2021
2c3e5c8
Fix ccx paths and cleaning script
davidscn Jan 28, 2021
0a290cf
Apply new naming conventions to config file
davidscn Jan 28, 2021
06eec11
Format xml in precice style
davidscn Jan 28, 2021
70d82ee
Add first version of multi coupling case
davidscn Jan 28, 2021
6550f81
Adjust paths according to restructure
davidscn Jan 28, 2021
beda3e8
Add the heat exchanger case
davidscn Jan 28, 2021
abc5c13
Add run scripts for fluid cases
davidscn Jan 28, 2021
cf3f585
Adjust download script
davidscn Jan 28, 2021
175d1b0
Add partitioned elastic beam
davidscn Jan 28, 2021
8abcbea
Apply naming conventions and provide cleaning script
davidscn Jan 28, 2021
545d516
Restructure steady state plate
davidscn Jan 28, 2021
3f6c35b
Change 0 dir to 0.orig
davidscn Jan 28, 2021
62b7115
Fix blockMesh in run.sh
davidscn Jan 28, 2021
48f9507
Merge branch 'restructure' into port-trivial
davidscn Feb 5, 2021
a5d11f7
Port heat-exchanger README from preCICE wiki
davidscn Feb 11, 2021
d20c7db
Port partitioned beam README from preCICE wiki
davidscn Feb 11, 2021
b1841d0
Add a README for the 3D tube
davidscn Feb 11, 2021
7231adf
Add code_aster README from code-aster wiki
davidscn Feb 11, 2021
6a4fae3
Apply multiple minor changes to preCICE configs and READMEs
uekerman Feb 15, 2021
fe3b7a1
Adjust naming scheme in multiple flaps case
davidscn Feb 16, 2021
430b959
Adjust naming of partitioned beam
davidscn Feb 16, 2021
88d51fc
Switch dimension in steady state heated plate
davidscn Feb 16, 2021
90bb49e
Merge branch 'port-trivial' of https://github.com/DavidSCN/tutorials …
davidscn Feb 16, 2021
9946367
Remove vtk tag for multiple flap case
davidscn Feb 19, 2021
d909807
Remove vtk tag from remainig mesh
davidscn Feb 19, 2021
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
Prev Previous commit
Next Next commit
Fix ccx paths and cleaning script
davidscn committed Jan 28, 2021
commit 2c3e5c849dbf224d4b09ff729e2ecbf237ec2bae
41 changes: 16 additions & 25 deletions elastic-tube-3d/clean.sh
Original file line number Diff line number Diff line change
@@ -7,52 +7,43 @@ echo "Cleaning..."
. $WM_PROJECT_DIR/bin/tools/CleanFunctions

# Participant 1: Fluid
Participant1="Fluid"
Participant1="fluid-openfoam"
cd ${Participant1}
# Clean the case
#cleanCase
# prevent cleaning the mesh
mv ./constant/polyMesh ./constant/mesh
cleanCase
rm -rfv 0
# restore mesh files
mv ./constant/mesh ./constant/polyMesh
# Create an empty .foam file for ParaView
# Note: ".foam" triggers the native OpenFOAM reader of ParaView.
# Change to ".OpenFOAM" to use the OpenFOAM reader provided with OpenFOAM.
touch ${Participant1}.foam
rm -fv ${Participant1}_decomposePar.log
rm -fv ${Participant1}.log
rm -fv ${Participant1}_reconstructPar.log
rm -fv precice-*.log
rm -fv precice-*-events.json
cd ..
# Remove the log files
rm -fv ${Participant1}_decomposePar.log
rm -fv ${Participant1}.log
rm -fv ${Participant1}_reconstructPar.log

# Participant 2: Solid
Participant2="Solid"
Participant2="solid-calculix"
cd ${Participant2}
# Clean the case
rm -fv *.log
rm -fv tube.cvg
rm -fv tube.dat
rm -fv tube.frd
rm -fv tube.sta
rm -fv tube.12d
rm -fv spooles.out
rm -fv precice-*.log
rm -fv precice-*-events.json
cd ..
# Remove the log files
rm -fv spooles.out
rm -fv ${Participant2}.log

# Remove the preCICE-related log files
echo "Deleting the preCICE log files..."
rm -fv \
precice-*.log \
precice-postProcessingInfo.log \
precice-*-events.json

# Output files for preCICE versions before 1.2:
rm -fv \
iterations-${Participant1}.txt iterations-${Participant2}.txt \
convergence-${Participant1}.txt convergence-${Participant2}.txt \
Events-${Participant1}.log Events-${Participant2}.log \
EventTimings-${Participant1}.log EventTimings-${Participant2}.log

# Remove the preCICE address files
rm -rfv precice-run
rm -fv .*.address

echo "Cleaning complete!"
#------------------------------------------------------------------------------
12 changes: 6 additions & 6 deletions elastic-tube-3d/solid-calculix/tube.inp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
*INCLUDE, INPUT=Solid/all.msh
*INCLUDE, INPUT=Solid/inlet.nam
*INCLUDE, INPUT=Solid/outlet.nam
*INCLUDE, INPUT=Solid/wall.nam
*INCLUDE, INPUT=Solid/interface.nam
*INCLUDE, INPUT=Solid/interface.sur
*INCLUDE, INPUT=all.msh
*INCLUDE, INPUT=inlet.nam
*INCLUDE, INPUT=outlet.nam
*INCLUDE, INPUT=wall.nam
*INCLUDE, INPUT=interface.nam
*INCLUDE, INPUT=interface.sur
*MATERIAL, Name=EL
*ELASTIC
300000.0, 0.3