<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">Dear users,</div><div style="margin:0;">In MHD simulation, I want to consider the Nernst effect. <span style="white-space: pre;">I did it as follows:</span></div><div style="margin:0;"><span style="white-space: pre;">1¡¢in Config file, add "REQUIRES physics/materialProperties/Thermoelectric/ThermoelectricMain/DaviesWen"</span></div><div style="margin:0;"><span style="white-space: pre;">2¡¢in flash.par file, add "use_Nernst = .true. "</span></div><div style="margin:0;"><span style="white-space: pre;"><br></span></div><div><span data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjIzellOMzJtZ01CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJJJTIwdGhpbmslMjBOZXJuc3QlMjB0ZXJtJTIwaXMlMjBhbHJlYWR5JTIwdHVybmVkJTIwb24uJTIyJTJDJTIyZHN0JTIyJTNBJTIyJUU2JTg4JTkxJUU4JUFFJUE0JUU0JUI4JUJBJUU4JTgzJUJEJUU2JTk2JUFGJUU3JTg5JUI5JUU2JTlDJUFGJUU4JUFGJUFEJUU1JUI3JUIyJUU3JUJCJThGJUU2JTg5JTkzJUU1JUJDJTgwJUU0JUJBJTg2JUUzJTgwJTgyJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJJJTIwdGhpbmslMjBOZXJuc3QlMjB0ZXJtJTIwaXMlMjBhbHJlYWR5JTIwdHVybmVkJTIwb24uJTIyJTdEJTVEJTdEJTVE" style="white-space: pre;">I think Nernst term is already turned on.  </span><span data-slate-node="text"><span data-slate-leaf="true" data-sent-id="nB4dv55NmB"><span data-slate-string="true" data-sider-select-id="786cf56f-5bcc-48f2-aba6-2a4e9c0c61f0">However, after running some steps, an error that internal energy was negative is reported. </span></span></span><span data-slate-node="text" data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJuQjRkdjU1Tm1CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJIb3dldmVyJTJDJTIwYWZ0ZXIlMjBydW5uaW5nJTIwc29tZSUyMHN0ZXBzJTJDJTIwYW4lMjBlcnJvciUyMHRoYXQlMjBpbnRlcm5hbCUyMGVuZXJneSUyMHdhcyUyMG5lZ2F0aXZlJTIwaXMlMjByZXBvcnRlZC4lMjAlMjIlMkMlMjJkc3QlMjIlM0ElMjIlRTclODQlQjYlRTglODAlOEMlRUYlQkMlOEMlRTUlOUMlQTglRTglQkYlOTAlRTglQTElOEMlRTQlQjglODAlRTQlQkElOUIlRTYlQUQlQTUlRTklQUElQTQlRTUlOTAlOEUlRUYlQkMlOEMlRTYlOEElQTUlRTUlOTElOEElRTQlQkElODYlRTUlODYlODUlRTklODMlQTglRTglODMlQkQlRTklODclOEYlRTQlQjglQkElRTglQjQlOUYlRTclOUElODQlRTklOTQlOTklRTglQUYlQUYlRTMlODAlODIlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMkhvd2V2ZXIlMkMlMjBhZnRlciUyMHJ1bm5pbmclMjBzb21lJTIwc3RlcHMlMkMlMjBhbiUyMGVycm9yJTIwdGhhdCUyMGludGVybmFsJTIwZW5lcmd5JTIwd2FzJTIwbmVnYXRpdmUlMjBpcyUyMHJlcG9ydGVkLiUyMCUyMiU3RCUyQyU3QiUyMmlkJTIyJTNBJTIycFZBazNMTEROQiUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIySSUyMHRyaWVkJTIwdG8lMjByZWR1Y2UlMjBDRkwlMjB0byUyMDAuMSUyQyUyMGl0JTIwaXMlMjBzdGlsbCUyMHVucmVzb2x2ZWQuJTIyJTJDJTIyZHN0JTIyJTNBJTIyJUU2JTg4JTkxJUU4JUFGJTk1JUU1JTlCJUJFJUU1JUIwJTg2Q0ZMJUU5JTk5JThEJUU0JUJEJThFJUU1JTg4JUIwMC4xJUVGJUJDJThDJUU0JUJEJTg2JUU0JUJCJThEJUU2JTlDJUFBJUU4JUE3JUEzJUU1JTg2JUIzJUUzJTgwJTgyJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJJJTIwdHJpZWQlMjB0byUyMHJlZHVjZSUyMENGTCUyMHRvJTIwMC4xJTJDJTIwaXQlMjBpcyUyMHN0aWxsJTIwdW5yZXNvbHZlZC4lMjIlN0QlNUQlN0QlNUQ="><span data-slate-leaf="true" data-sent-id="pVAk3LLDNB"><span data-slate-string="true">I tried to reduce CFL to 0.1, but it is still unresolved.</span></span></span></div><div><span data-slate-node="text" data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJuQjRkdjU1Tm1CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJIb3dldmVyJTJDJTIwYWZ0ZXIlMjBydW5uaW5nJTIwc29tZSUyMHN0ZXBzJTJDJTIwYW4lMjBlcnJvciUyMHRoYXQlMjBpbnRlcm5hbCUyMGVuZXJneSUyMHdhcyUyMG5lZ2F0aXZlJTIwaXMlMjByZXBvcnRlZC4lMjAlMjIlMkMlMjJkc3QlMjIlM0ElMjIlRTclODQlQjYlRTglODAlOEMlRUYlQkMlOEMlRTUlOUMlQTglRTglQkYlOTAlRTglQTElOEMlRTQlQjglODAlRT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NvbHZlZC4lMjIlN0QlNUQlN0QlNUQ="><span data-slate-leaf="true" data-sent-id="pVAk3LLDNB"><span data-slate-string="true">When I remove <span style="white-space: pre;"> "</span><span style="white-space: pre;">use_Nernst = .true. "</span>, the program can run normally.</span></span></span></div><div><span data-slate-node="text" data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJuQjRkdjU1Tm1CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJIb3dldmVyJTJDJTIwYWZ0ZXIlMjBydW5uaW5nJTIwc29tZSUyMHN0ZXBzJTJDJTIwYW4lMjBlcnJvciUyMHRoYXQlMjBpbnRlcm5hbCUyMGVuZXJneSUyMHdhcyUyMG5lZ2F0aXZlJTIwaXMlMjByZXBvcnRlZC4lMjAlMjIlMkMlMjJkc3QlMjIlM0ElMjIlRTclODQlQjYlRTglODAlOEMlRUYlQkMlOEMlRTUlOUMlQTglRTglQkYlOTAlRTglQTElOEMlRTQlQjglODAlRTQlQkElOUIlRTYlQUQlQTUlRTklQUElQTQlRTUlOTAlOEUlRUYlQkMlOEMlRTYlOEElQTUlRTUlOTElOEElRTQlQkElODYlRTUlODYlODUlRTklODMlQTglRTglODMlQkQlRTklODclOEYlRTQlQjglQkElRTglQjQlOUYlRTclOUElODQlRTklOTQlOTklRTglQUYlQUYlRTMlODAlODIlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMkhvd2V2ZXIlMkMlMjBhZnRlciUyMHJ1bm5pbmclMjBzb21lJTIwc3RlcHMlMkMlMjBhbiUyMGVycm9yJTIwdGhhdCUyMGludGVybmFsJTIwZW5lcmd5JTIwd2FzJTIwbmVnYXRpdmUlMjBpcyUyMHJlcG9ydGVkLiUyMCUyMiU3RCUyQyU3QiUyMmlkJTIyJTNBJTIycFZBazNMTEROQiUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIySSUyMHRyaWVkJTIwdG8lMjByZWR1Y2UlMjBDRkwlMjB0byUyMDAuMSUyQyUyMGl0JTIwaXMlMjBzdGlsbCUyMHVucmVzb2x2ZWQuJTIyJTJDJTIyZHN0JTIyJTNBJTIyJUU2JTg4JTkxJUU4JUFGJTk1JUU1JTlCJUJFJUU1JUIwJTg2Q0ZMJUU5JTk5JThEJUU0JUJEJThFJUU1JTg4JUIwMC4xJUVGJUJDJThDJUU0JUJEJTg2JUU0JUJCJThEJUU2JTlDJUFBJUU4JUE3JUEzJUU1JTg2JUIzJUUzJTgwJTgyJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJJJTIwdHJpZWQlMjB0byUyMHJlZHVjZSUyMENGTCUyMHRvJTIwMC4xJTJDJTIwaXQlMjBpcyUyMHN0aWxsJTIwdW5yZXNvbHZlZC4lMjIlN0QlNUQlN0QlNUQ="><span data-slate-leaf="true" data-sent-id="pVAk3LLDNB"><span data-slate-string="true">May I ask how to use the Nernst effect correctly?</span></span></span></div><div><span data-slate-node="text" data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJuQjRkdjU1Tm1CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJIb3dldmVyJTJDJTIwYWZ0ZXIlMjBydW5uaW5nJTIwc29tZSUyMHN0ZXBzJTJDJTIwYW4lMjBlcnJvciUyMHRoYXQlMjBpbnRlcm5hbCUyMGVuZXJneSUyMHdhcyUyMG5lZ2F0aXZlJTIwaXMlMjByZX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iU1RCUyQyUyMnRleHQlMjIlM0ElMjJJJTIwdHJpZWQlMjB0byUyMHJlZHVjZSUyMENGTCUyMHRvJTIwMC4xJTJDJTIwaXQlMjBpcyUyMHN0aWxsJTIwdW5yZXNvbHZlZC4lMjIlN0QlNUQlN0QlNUQ="><span data-slate-leaf="true" data-sent-id="pVAk3LLDNB"><span data-slate-string="true"><br></span></span></span></div><div><span data-slate-node="text" data-slate-fragment="JTVCJTdCJTIydHlwZSUyMiUzQSUyMnBhcmFncmFwaCUyMiUyQyUyMmNoaWxkcmVuJTIyJTNBJTVCJTdCJTIyaWQlMjIlM0ElMjJuQjRkdjU1Tm1CJTIyJTJDJTIycGFyYUlkeCUyMiUzQTAlMkMlMjJzcmMlMjIlM0ElMjJIb3dldmVyJTJDJTIwYWZ0ZXIlMjBydW5uaW5nJTIwc29tZSUyMHN0ZXBzJTJDJTIwYW4lMjBlcnJvciUyMHRoYXQlMjBpbnRlcm5hbCUyMGVuZXJneSUyMHdhcyUyMG5lZ2F0aXZlJTIwaXMlMjByZXBvcnRlZC4lMjAlMjIlMkMlMjJkc3QlMjIlM0ElMjIlRTclODQlQjYlRTglODAlOEMlRUYlQkMlOEMlRTUlOUMlQTglRTglQkYlOTAlRTglQTElOEMlRTQlQjglODAlRTQlQkElOUIlRTYlQUQlQTUlRTklQUElQTQlRTUlOTAlOEUlRUYlQkMlOEMlRTYlOEElQTUlRTUlOTElOEElRTQlQkElODYlRTUlODYlODUlRTklODMlQTglRTglODMlQkQlRTklODclOEYlRTQlQjglQkElRTglQjQlOUYlRTclOUElODQlRTklOTQlOTklRTglQUYlQUYlRTMlODAlODIlMjIlMkMlMjJtZXRhZGF0YSUyMiUzQSUyMiUyMiUyQyUyMm1ldGFEYXRhJTIyJTNBJTVCJTVEJTJDJTIydGV4dCUyMiUzQSUyMkhvd2V2ZXIlMkMlMjBhZnRlciUyMHJ1bm5pbmclMjBzb21lJTIwc3RlcHMlMkMlMjBhbiUyMGVycm9yJTIwdGhhdCUyMGludGVybmFsJTIwZW5lcmd5JTIwd2FzJTIwbmVnYXRpdmUlMjBpcyUyMHJlcG9ydGVkLiUyMCUyMiU3RCUyQyU3QiUyMmlkJTIyJTNBJTIycFZBazNMTEROQiUyMiUyQyUyMnBhcmFJZHglMjIlM0EwJTJDJTIyc3JjJTIyJTNBJTIySSUyMHRyaWVkJTIwdG8lMjByZWR1Y2UlMjBDRkwlMjB0byUyMDAuMSUyQyUyMGl0JTIwaXMlMjBzdGlsbCUyMHVucmVzb2x2ZWQuJTIyJTJDJTIyZHN0JTIyJTNBJTIyJUU2JTg4JTkxJUU4JUFGJTk1JUU1JTlCJUJFJUU1JUIwJTg2Q0ZMJUU5JTk5JThEJUU0JUJEJThFJUU1JTg4JUIwMC4xJUVGJUJDJThDJUU0JUJEJTg2JUU0JUJCJThEJUU2JTlDJUFBJUU4JUE3JUEzJUU1JTg2JUIzJUUzJTgwJTgyJTIyJTJDJTIybWV0YWRhdGElMjIlM0ElMjIlMjIlMkMlMjJtZXRhRGF0YSUyMiUzQSU1QiU1RCUyQyUyMnRleHQlMjIlM0ElMjJJJTIwdHJpZWQlMjB0byUyMHJlZHVjZSUyMENGTCUyMHRvJTIwMC4xJTJDJTIwaXQlMjBpcyUyMHN0aWxsJTIwdW5yZXNvbHZlZC4lMjIlN0QlNUQlN0QlNUQ="><span data-slate-leaf="true" data-sent-id="pVAk3LLDNB"><span data-slate-string="true"><img src="cid:537e0a1d$2$18f993f9d79$Coremail$gwyang991314$163.com" orgwidth="1540" orgheight="239" data-image="1" style="width: 787.5px; height: 122px; border: 1px solid rgb(153, 153, 153);"></span></span></span></div><div><img src="cid:1147bc13$3$18f99427673$Coremail$gwyang991314$163.com" orgwidth="1315" orgheight="957" data-image="1" style="width: 638.1px; height: 464px; border: none;"></div><div style="margin:0;"><br></div><div style="margin:0;"><br></div></div><img style="width:1px;height:1px" src="https://count.mail.163.com/beacon/webmail.gif?type=webmail_mailtrace&guid=pre_330c2e1a2dff547b1e8c3d9a2761d15a">