|
[Sponsors] |
March 27, 2020, 19:19 |
A small question about soildParticle in LPT
|
#1 |
New Member
Jimo Chen
Join Date: Mar 2020
Posts: 2
Rep Power: 0 |
Hello everyone:
I am a new OpenFOAM user with few experience in C++ coding. And I want to add some extra forces in Sollidparticle at lagrange particle tracking.I tried my best to understand the code in SolidParticle.c but I still have some questions.They are as follows: As stated in essay,The Lagrangian equations are the following: (dU_)/dt=(Uc-U_)*Dc+(1-ρc/ρp )*g And the U_ expression in codes are as follows(Line 82 in soildParticle.C version :OpenFOAMv7): U_ = (U_ + dt*(Dc*Uc + (1.0 - rhoc/rhop)*td.g()))/(1.0 + dt*Dc); I thought it would be the following expression: U_=U_+[(Uc-U_)*Dc+(1-ρc/ρp )*g]*dt I hope you can help me. Thank you very much. |
|
March 30, 2020, 23:44 |
|
#2 |
New Member
Jimo Chen
Join Date: Mar 2020
Posts: 2
Rep Power: 0 |
Sorry,I know the meaning of this expression now.The expression is just an implicit Euler method to solve the U_.
|
|
Tags |
lpt;solidparticle |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Fluent Conjugate heat transfer: Temperature at a small fluid region exceed limit | RPjack | ANSYS Meshing & Geometry | 1 | June 20, 2019 07:11 |
[snappyHexMesh] .STL: non-closed manifold surface | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 32 | November 25, 2016 03:15 |
[snappyHexMesh] meshing of very small patches in comparison with the overall geometry | christos | OpenFOAM Meshing & Mesh Conversion | 3 | December 17, 2014 16:55 |
Cases with small length scale work fine on a single processor but fail in parallel | adona058 | OpenFOAM Bugs | 5 | April 17, 2009 04:41 |
CHANNEL FLOW: a question and a request | Carlos | Main CFD Forum | 4 | August 23, 2002 05:55 |