File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
test/tests/multiapps/shell_tube_heat_exchanger Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,9 @@ moose/include/base/Precompiled.h.gch
151151# OpenFOAM mesh object files
152152test /** /* .obj
153153
154+ # downloaded mesh tarballs
155+ test /tests /** /* .tar.gz
156+
154157framework /contrib /exodiff /exodiff
155158
156159# Mac garbage
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e -u -o pipefail
4+
35# Downloads mesh file and check the hash against known reference
46downloadMesh ()
57{
68 DIRECTORY=$1
79 URL=$2
810 HASH=$3
9- FILE=$( basename ${URL} )
11+ FILE=${DIRECTORY} _mesh.tar.gz
12+
13+ if [ ! -f $FILE ]; then
14+ wget -O $FILE -nv ${URL}
15+ fi
1016
11- wget -O $FILE -nv ${URL}
1217 if [ $? -ne 0 ]; then
1318 echo " Download failed"
1419 exit 1
@@ -21,9 +26,7 @@ downloadMesh()
2126
2227 tar -xvf $FILE
2328 mv polyMesh.org $DIRECTORY /constant/polyMesh
24- rm -f $FILE
2529 gzip -d -q $DIRECTORY /constant/polyMesh/*
26- return 0
2730}
2831
2932foamCleanCase -case fluid_inner
Original file line number Diff line number Diff line change 8787 []
8888[]
8989[Materials]
90- # The example specifies that the thermal diffusivity of the solid should
91- # be α = 1 m2/s, and the thermal conductivity should be k = 100 W/(m.K).
92- #
93- # We know α = k/(Cp.ρ), where k is thermal conductivity, Cp is specific
94- # heat capacity, and ρ is density.
95- #
96- # Hence we require that Cp.ρ = k = 100 .
90+ # Solid material properties for copper
9791 [thermal-conduction]
9892 type = ADGenericConstantMaterial
9993 prop_names = ' thermal_conductivity density'
You can’t perform that action at this time.
0 commit comments