hkmoffat / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

Variable m_dthermal not resized after grid refinement #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In the resize() function in StFlow, when multi-component transport is enabled, 
the member variable m_dthermal, which is used to store thermal diffusion 
coefficients, is not being resized after a grid refinement.

m_dthermal is also not being initialized with other vectors around line 138 in 
StFlow, but this might not be an issue.

What is the expected output? What do you see instead?

When the Soret effect is enabled, it is possible for the simulation to crash 
due to a memory allocation issue.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by watso...@gmail.com on 13 Dec 2012 at 3:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1974.

Original comment by yarmond on 13 Dec 2012 at 10:46