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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: l_r_mcglashan
Forum: OpenFOAM Programming & Development August 7, 2013, 16:39
Replies: 6
Views: 4,170
Posted By l_r_mcglashan
In that case you could use VSMALL. Or even 0.001....

In that case you could use VSMALL. Or even 0.001.

Choice of cutoff is not always so simple. I would lean towards making the function behave better towards zero or add the constant directly to the...
Forum: OpenFOAM Programming & Development August 7, 2013, 04:44
Replies: 6
Views: 4,170
Posted By l_r_mcglashan
This should work: max(dT,...

This should work:

max(dT, dimensionedScalar("minDt", dimless, 1e-10);
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 04:08.