Thermal conduction in clumps
Hello
I am trying to use the thermal conduction scheme in clump particles. I have a column of 6 spheres. The top sphere is stand alone with 400 K fixed temperature boundary condition but the remaining 5 spheres make up two clumps with initial temperature of 100 K. When running the model, heat is transferred from the top sphere to its neighboring sphere belonging to a clump. However, there is no conduction within the clump itself so the rest of spheres in the model remain at 100 K temperature.
My question is how to get the thermal engine to conduct heat within clumps themselves? Here is the code:
from yade import pack
from numpy import arange
import itertools
import random
import numpy as np
import shutil
from yade import plot
thermalCond = 2. #W/(mK)
heatCap = 710. #J(kg K)
t0 = 100. #K
rad=0.003
intRadius=1
mn,mx=Vector3(
O.materials.
walls=aabbWalls
wallIds=
SPack=pack.
O.bodies.
O.bodies.
O.bodies.
ThermalEngine = ThermalEngine(
newton=
O.engines=[
ForceResetter(),
InsertionSortC
InteractionLoop(
[Ig2_
[Ip2_
[Law2_
),
FlowEngine(
ThermalEngine, GlobalStiffness
newton
]
for o in O.bodies:
o.dynamic=False
flow.dead=0
flow.defToleran
flow.meshUpdate
flow.useSolver=4
flow.permeabili
flow.viscosity=10
flow.bndCondIsP
flow.bndCondVal
flow.boundaryUs
flow.thermalEng
flow.debug=False
flow.fluidRho = 1000
flow.fluidCp = 4184
flow.fluidK = 0.650
flow.bndCondIsT
flow.thermalEng
flow.thermalBnd
flow.tZero=t0
flow.pZero=0
thermal.dead=0
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
thermal.
flow.updateTria
O.run(1,1)
flow.dead=1
def ColorScaler():
for s in O.bodies:
s.shape.
O.engines=
def history():
plot.addData(
t=O.time,
i = O.iter,
Particle1 = SPack[0]
Particle2 = SPack[1]
Particle3 = SPack[2]
Particle4 = SPack[3]
Particle5 = SPack[4]
Particle6 = SPack[5]
)
O.engines=
plot.plots=
#VTKrec.dead=0
plot.plot()
O.run(100000,1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Robert Caulk
- Solved:
- Last query:
- Last reply: