CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: benk
Forum: OpenFOAM June 8, 2010, 12:57
Replies: 10
Views: 2,126
Posted By benk
Aha, that seems to have worked! (reading old...

Aha, that seems to have worked! (reading old solution into a new volScalarField and then using scalar == scalar_old). Thanks!

I don't have a Courant number because I don't have a momentum balance...
Forum: OpenFOAM June 8, 2010, 09:33
Replies: 10
Views: 2,126
Posted By benk
Thanks for the suggestion. When I try the...

Thanks for the suggestion. When I try the tmp<scalar> part I get the compiler error:


error: no matching function for call to Foam::tmp<double>::tmp(Foam::IOobject, Foam::fvMesh&)
note:...
Forum: OpenFOAM June 7, 2010, 15:51
Replies: 10
Views: 2,126
Posted By benk
Ok, so I know what my problem is but I don't know...

Ok, so I know what my problem is but I don't know how to fix it.

I detect whether my solution is diverging using a flag and if it's diverging i have:


if (diverging == 1) {

//reset...
Forum: OpenFOAM June 7, 2010, 11:14
Replies: 10
Views: 2,126
Posted By benk
Hmm, I thought that I could just reset the time,...

Hmm, I thought that I could just reset the time, as I did above and then read in the stored data using:

volScalarField scalarName
(
IOobject
(
"scalar",
...
Forum: OpenFOAM June 3, 2010, 14:55
Replies: 10
Views: 2,126
Posted By benk
Is there any way to call this while my solver is...

Is there any way to call this while my solver is running?

For example, I'm trying to implement variable deltaT (time step) and if I pick a deltaT that is too high and the solution starts to...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 17:51.