add a variable wall temperature

Riccardo Maione's picture
Submitted by Riccardo Maione on Wed, 12/16/2015 - 18:19

Hello everybody,

as the title states, I would like to add a variable temperature to my wall, but I am a little blocked on the code,

could someone help me? maybe giving some advices on how to do it?

Thanks and best regards,
Riccardo

ckloss's picture

ckloss | Tue, 12/22/2015 - 20:05

Hi Riccardo,

this will involve quite a bit of programming: see fix_mesh_surface_stress.h/cpp for an example how to introduce new properties to the wall. You'd have to create a similar class and add a per-element temperature. This you'd have to use in a modified version of fix wall/gran which uses the per-element temperature in place of one global temperature

Best wishes and happy coding
Christoph