CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A small question about soildParticle in LPT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2020, 19:19
Default A small question about soildParticle in LPT
  #1
New Member
 
Jimo Chen
Join Date: Mar 2020
Posts: 2
Rep Power: 0
hhuchenyh is on a distinguished road
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.
hhuchenyh is offline   Reply With Quote

Old   March 30, 2020, 23:44
Default
  #2
New Member
 
Jimo Chen
Join Date: Mar 2020
Posts: 2
Rep Power: 0
hhuchenyh is on a distinguished road
Sorry,I know the meaning of this expression now.The expression is just an implicit Euler method to solve the U_.
hhuchenyh is offline   Reply With Quote

Reply

Tags
lpt;solidparticle


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:45.