|August 21, 2012, 14:05||
How to modify psi value from the solver level (based on reactingFoam)?
Join Date: Apr 2010
Blog Entries: 1Rep Power: 7
I am writing a solver based on reactingFoam (1.7.1). The psi value is calculated from a user-routine, and I want to assign the value to psi and use that psi to update other thermo properties. However, in the basicThermo class, the psi is defined as const... I tried to add non-const access to psi, and there is no compilation error, but there is runtime error related to psi.oldtime(). Is there any way that I could update the psi value as well as alpha and mu from a solver level?
Thanks a lot,
|reactingfoam, thermo library|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Pressure Based Coupled Solver||A.S.||Main CFD Forum||1||November 8, 2015 10:59|
|Pressure based and Density based Solver||Xobile||Main CFD Forum||18||April 13, 2015 07:49|
|adding radiation to reactingFoam solver||Marshak||OpenFOAM||1||February 13, 2012 06:43|
|Regarding Density based solver||Eswar||Main CFD Forum||2||June 6, 2007 11:00|
|Density based solver||Eswar||Main CFD Forum||2||May 29, 2007 07:29|