Body temperature rise higher than thermalBndCondValue
Hello,
I'm trying to explore the thermal expansion with Yade, similar to the paper [1]. But while I heated up one side of the boundary: thermal.
###################
from yade import pack, ymport, plot, utils, export, timing
import numpy as np
young=5e6
mn,mx=Vector3(
O.materials.
O.materials.
walls=aabbWalls
wallIds=
sp=pack.
sp.makeCloud(
sp.toSimulation
triax=TriaxialS
maxMultiplier=
finalMaxMultip
thickness = 0,
stressMask = 7,
internalCompac
)
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
GlobalStiffnes
triax,
FlowEngine(
ThermalEngine(
NewtonIntegrat
]
O.step()
ss2sc.interacti
is2aabb.
O.dt=0.1e-5
O.dynDt=False
tri_pressure = 10000
triax.goal1=
while 1:
O.run(1000, True)
unb=unbalance
print('unbalanced force:',unb,' mean stress: ',triax.meanStress)
if unb<0.01 and abs(-tri_
break
triax.internalC
for b in O.bodies:
if isinstance(b.shape, Sphere):
b.dynamic=False
flow.dead=0
flow.defToleran
flow.meshUpdate
flow.boundaryUs
flow.useSolver=4
flow.permeabili
flow.viscosity= 0.001
flow.bndCondIsP
flow.bndCondVal
flow.thermalEng
flow.debug=False
flow.fluidBulkM
flow.fluidRho = 997
flow.fluidCp = 4181.7
flow.bndCondIsT
flow.thermalEng
flow.thermalBnd
flow.tZero=333.15
flow.pZero=0
thermal.dead=0
thermal.debug=False
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.fluidK = 0.6069
thermal.
thermal.
thermal.particleT0 = 333.15
thermal.
thermal.particleK = 2.
thermal.particleCp = 710.
thermal.
thermal.
thermal.
timing.reset()
O.dt=1e-5
O.run(1,1)
def bodyByPos(x,y,z):
cBody = O.bodies[1]
cDist = Vector3(
for b in O.bodies:
if isinstance(b.shape, Sphere):
dist = b.state.pos - Vector3(x,y,z)
if np.linalg.
cDist = dist
cBody = b
return cBody
bodyOfInterest = bodyByPos(
from yade import plot
def history():
plot.addData(
ftemp1=
p=flow.
t=O.time,
i = O.iter,
bodyOfIntTemp = O.bodies[
)
plot.saveDataT
O.engines=
plot.plots=
plot.plot(
O.run()
################
Best regards
Jiannan
[1]: https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jiannan Wang
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Jiannan Wang