LaMEM icon indicating copy to clipboard operation
LaMEM copied to clipboard

How to define thermal conductivity as a function of temperature and pressure?

Open colorzircon opened this issue 5 months ago • 2 comments

Dear LaMEM Developers,

I am writing to inquire about the thermal conductivity settings in LaMEM.

Currently, it appears that thermal conductivity (k) can only be defined as a constant value.

I wonder if LaMEM supports defining k as a function of temperature (T) and pressure (P)?

For example: k=[k0​+k1/(T+77)​​]*exp(0.00004P)

If such functionality is available: How can this be implemented in the code or input parameters?

If the current version of LaMEM does ​not​ support dynamic thermal conductivity: Are there plans to add this feature in future releases? Would you recommend alternative workarounds (e.g., coupling with external scripts, modifying source code)?

Thank you for your time and guidance. I look forward to your insights.

Best regards, Frank

colorzircon avatar Jul 16 '25 02:07 colorzircon

Some form of T-dependent conductivity is implemented but not the kind you seem to need. In ongoing projects we have no immediate need for this so I guess the easiest is if you implement it yourself (and ideally make a pull request for LaMEM so other users benefit from it as well). See here on where conductivity is implemented.

boriskaus avatar Jul 16 '25 13:07 boriskaus

Thanks, I will try and let you know the progress.

colorzircon avatar Jul 16 '25 14:07 colorzircon