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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: benk
Forum: OpenFOAM Programming & Development June 8, 2010, 10:17
Replies: 7
Views: 3,711
Posted By benk
I found that it's easier just to define a...

I found that it's easier just to define a variable as my relaxation factor and then relax with that variable. Something like this:


scalar dampingCoeff = 0.5;

<insert algorithm to change...
Forum: OpenFOAM Programming & Development March 1, 2010, 12:21
Replies: 7
Views: 3,711
Posted By benk
There's another piece that I can't figure out: ...

There's another piece that I can't figure out:

How can I return the current value of the relaxation factor?

Or better yet, set it using code like:
C_Eqn.relaxationFactor() =...
Forum: OpenFOAM Programming & Development February 25, 2010, 11:44
Replies: 7
Views: 3,711
Posted By benk
Aha! Thanks. That sounds like exactly what I...

Aha! Thanks. That sounds like exactly what I need.

What's the best way to find these sorts of things out? Do I have to dig through the code or is there a better way?
Forum: OpenFOAM Programming & Development February 19, 2010, 17:55
Replies: 7
Views: 3,711
Posted By benk
Dynamic under-relaxation

Just out of curiosity, has anybody tried to implement (or perhaps it exists and I just don't know about it) a type of "dynamic under/over-relaxation" function where the relaxation parameter changes...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 03:56.