CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Solve single but higher order equation by OF 1.6 suffering Problem (http://www.cfd-online.com/Forums/openfoam-programming-development/83331-solve-single-but-higher-order-equation-1-6-suffering-problem.html)

alundilong December 23, 2010 14:53

Solve single but higher order equation by OF 1.6 suffering Problem
 
Hi forks,

I am trying to solve a equation like this,
fvm::d2dt2(Qaplha,T)
+ fvm::ddt(Ralpha,T)
- fvm::ddt(tauT,T) // this is new term represents ddt(tau,laplacian(T))
- fvm::laplacian(con, T)
The red line is a 3 order differential term which OF cannot solve, in my opinion, a mix application from fvm::ddt and fvc::laplacian may be helpful, however, a fatal error was also produced, see lines in red below!

codes has been implemented into
Errors Message:
new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library


I believe there is something wrong with tmp<ddtScheme<Type>> which is responsible for managing temporary objects, but I can not figure it out.
Hoping to hear your suggestions.


All times are GMT -4. The time now is 15:57.