|
[Sponsors] |
November 20, 2013, 18:24 |
Solving ODE with variable parameters
|
#1 |
Member
|
Greetings, Dear FOAMers!
In my task I have to solve a system of ODE every step. Some parameters of these ODE are determined every time step. That means that I have to send values of these parameters to solver every time step. Is it possible in OF? I failed to find how to send the parameter values into ODESolver every time step. Please, help. Best regards, Aleksey. |
|
November 26, 2013, 18:26 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Aleksey,
I'm not sure if this helps solve your problem, but have you looked at the source code file "applications/test/ODE/Test-ODE.C"? https://github.com/OpenFOAM/OpenFOAM...ODE/Test-ODE.C Best regards, Bruno
__________________
|
|
November 28, 2013, 16:47 |
|
#3 |
Member
|
Dear Bruno,
many thanks for your reply! This example didn't help me. However, now I understand how to do what I want. I just add a number of variables into ODE model. Best regards, Aleksey. |
|
Tags |
ode, odesolver, parameters |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
rhoSimplecFoam Mach0.8 no pressure values | CFDnewbie147 | OpenFOAM Running, Solving & CFD | 16 | November 23, 2013 06:58 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 06:55 |