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

Questions about the integration scheme in Lagrangian frame

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2016, 08:46
Default Questions about the integration scheme in Lagrangian frame
  #1
New Member
 
Join Date: Nov 2016
Posts: 16
Rep Power: 9
ycui is on a distinguished road
Dear Foamer:

The integration schemes in the Lagrangian frame only contain Euler & Analytical, so I'm trying to implement the Runge Kutta method inside.

The member functions in IntegrationScheme.H is:
Quote:
//- Perform the Integration
virtual integrationResult integrate
(
const Type& phi,
const scalar dt,
const Type& alphaBeta,
const scalar beta
) const;
And from KinematicParcel.C it is used in this way:
Quote:
IntegrationScheme<vector>::integrationResult Ures =
td.cloud().UIntegrator().integrate(U_, dt, abp, bp);
with:
Quote:
const vector abp = (Feff.Sp()*Uc_ + (Feff.Su() + Su))/massEff;
const scalar bp = Feff.Sp()/massEff;
My question is: what's the meaning of alphaBeta & beta in integrate()?

Best regards,

ycui
ycui is offline   Reply With Quote

Old   December 6, 2016, 10:51
Default
  #2
New Member
 
Join Date: Nov 2016
Posts: 16
Rep Power: 9
ycui is on a distinguished road
I find the answer: there are user defined type, different integration scheme has a different types.

Quote:
Originally Posted by ycui View Post
Dear Foamer:

The integration schemes in the Lagrangian frame only contain Euler & Analytical, so I'm trying to implement the Runge Kutta method inside.

The member functions in IntegrationScheme.H is:


And from KinematicParcel.C it is used in this way:

with:


My question is: what's the meaning of alphaBeta & beta in integrate()?

Best regards,

ycui
ycui is offline   Reply With Quote

Old   June 12, 2017, 16:32
Default
  #3
New Member
 
Clint
Join Date: Sep 2015
Posts: 10
Rep Power: 11
cdunn6754 is on a distinguished road
They are just constants for your integration. You can see how they are defined, at least for your case, about 4 lines above the call to integrate in KinematicParcel.C
cdunn6754 is offline   Reply With Quote

Old   August 13, 2023, 03:54
Default
  #4
New Member
 
rqli
Join Date: Apr 2022
Posts: 2
Rep Power: 0
rqli_npu is on a distinguished road
hello ,did you successfully use RK nethod , i also wang to do this thing, can you give me some help
rqli_npu is offline   Reply With Quote

Reply


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
Implementation of QUICK scheme Romuald Skoda Main CFD Forum 11 November 6, 2017 21:20
AUSM scheme ? Central Scheme boling Main CFD Forum 7 January 7, 2016 02:41
Godunov scheme Peter Main CFD Forum 6 November 27, 2009 10:51
extrapolation in MUSCL scheme Chandra Main CFD Forum 6 February 14, 2007 11:21
Question on Sediment Mass Conservation Scheme Wen Long Main CFD Forum 0 July 6, 2004 15:45


All times are GMT -4. The time now is 22:07.