|
[Sponsors] |
Can not start simulation using previous results |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 2, 2015, 07:52 |
Can not start simulation using previous results
|
#1 |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Guys, I built an entire fuel cell model using UDF. This steady state model has RP variables, 4 UDSI and many UDMI.
The problem is that, once I close fluent, I can not use the previous result as an initial condition. It simply diverges all the variables at first iteration. Did anyone have this kind of problem before? Is there any way I should save it or variables that should be stored to start the simulation using the previous results? Thank you in advance. |
|
December 7, 2015, 09:16 |
|
#2 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
I think Fluent discards all UDS gradients, so if you're using those to assemble the equations at the start it is probably just using garbage, which would crash the solver. Is this your case?
I remember seeing something like this in a UDF from ANSYS. I don't quite remember the workaround, but what I think they did (I don't really trust my memory) was have the solver re-calculate gradients on the fly. |
|
December 14, 2015, 10:25 |
|
#3 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
Do you mean I should compute the gradient from all the UDS before starting it again? In some kind of DEFINE_ON_DEMAND, for example? Obrigado pela ajuda haha. Cheers |
||
December 14, 2015, 12:16 |
|
#4 |
Senior Member
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21 |
Something like that, yes.
Estamos aqui pra ajudar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
Simulation doesnt start iterating | saisrikar | STAR-CCM+ | 3 | August 15, 2011 01:14 |
Finished simulation doesn't start: floating point exception [Divide by zero] | MaxCFD | STAR-CCM+ | 3 | June 26, 2011 11:31 |
Steady-state simulation to start a transient simulation | smagmon | CFX | 2 | May 18, 2009 04:59 |
Can Fluent start a simulation from a negative time | Ted Chu | FLUENT | 10 | November 26, 2008 22:06 |