|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2017
Posts: 2
Rep Power: 0 ![]() |
Hi,
I need to solve two ODEs during the main solving loop for my PDEs. I basically need to solve Newton's Equation F = ma and T = Ia for rigid body motion. I saw that there is a special solver for 6dof motion, but I would like to solve these two equations only. I can't find any good tutorials online or some sample code for solving ODEs. Is there any sort of material online? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Sebastian
Join Date: Feb 2017
Posts: 22
Rep Power: 8 ![]() |
Had you had a look at
http://hassankassem.me/posts/ode/ ? In general you can use any PDE solver for solving an ODE. This might be overdone, but it works. I only tried combining solving a PDE with an ODE. For this purpose I created a new field variable and added the additional equation in the solver code (only using the temporal derivative) resulting in a modified solver. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
zink
Join Date: Oct 2015
Posts: 29
Rep Power: 9 ![]() |
Were you able to integrate them, I am also interested in learning.
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Raśl Bernal
Join Date: Mar 2018
Posts: 3
Rep Power: 7 ![]() |
Hi! ,
Do you have luck finding out how to solve and ODE inside the loop of a PDE? This post http://hassankassem.me/posts/ode/ and this http://www.tfd.chalmers.se/~hani/kur...rtZongyuan.pdf publication explain how to solve an ODE but none of them eplain how to use it along with a PDE solver. |
|
![]() |
![]() |
![]() |
Tags |
ode, ode solver |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 14:26 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 13:40 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 11:16 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |