autoPtr<incompressible::RASModel>
Hello everybody,
I am trying to declare RASModel outside main function but its giving me some errors. I compiled the code, there were no errors but i run the code then i get following error. -->Foam FATAL ERROR lookup of RASProperties from object Registry region0 successful but it is not a RASModel, it is a dictionary. How can i get rid of this fatal error. I am trying but still failed to get rid of it. What I did is the following. autoPtr<incompressible::RASModel> RASModel ( incompressible::RASModel::New(U,phi,laminarTranspo rt) ); This is the same way as done in buoyanBoussinesqSimpleFoam. What I am doing is that i am trying to initialize it in some class. Thanks in advance. Best Regards, |
Hi,
I have no experience with your problem but just found this: Code:
autoPtr<incompressible::RASModel> turbulence Regards, Toni |
Quote:
Regards, Stefan |
Hi Stefan,
but then how is it possible I found the following code in yPlusRAS.C ? Code:
singlePhaseTransportModel laminarTransport(U, phi); Regards, Toni |
All times are GMT -4. The time now is 07:19. |