← Back to team overview

yade-users team mailing list archive

Re: [Question #699421]: Advection stops working in ThermalEngine when decoupleForces in FlowEngine is True

 

Question #699421 on Yade changed:
https://answers.launchpad.net/yade/+question/699421

    Status: Needs information => Open

Zoheir Khademian gave more information on the question:
Hi Robert and thanks!

>>To start, do you need any body movement? Or can you simply set all
O.bodies[i].dynamic=False?

I dont need any movement so I set all body dynamic to false but still
the viscus and pressure forces are calculated in the FlowEngine, which
adds to the runtime. To avoid this calculations, I tried setting
decoupleForces=True but advection and fluid convection stopped working.
I think the calculation of cell temperatures is somehow dependent on the
decoupleForces option.

>>Does decoupleForces work on the standard oedometer.py example script
[1]?

Yes, in the oedometer.py example script, I set decoupleForces true and it prevented the viscus and pressure force calculations. The engine time table that is printed in the terminal showed that time spent on force calculation is  zero. From the plots when running the example, the vertical strain was not affected by the pore pressure changes during the test.
So, I think decoupleForces works fine but advection and fluid conduction does not if decoupleForces is true.

Another question is where cell temperature is updated in the source
code? I think cell->info().temp() is not updated when decoupleForces is
true.

Thanks
Zoheir

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.