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

Lagrangian solver(trackingData& td)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2020, 11:04
Default Lagrangian solver(trackingData& td)
  #1
Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 46
Rep Power: 2
farzadmech is on a distinguished road
Dear friends
I have developed the parcel and kinematicCloud in MPPICFoam in order to contain the Oxygen and Nitrogen mass in each parcel. My library and code compiles correctly, but when I run the code, I got an error which says "Segmentation fault (core dumped)" and the error happens exactly at the red line below;

Code:
template<class CloudType>
void Foam::KinematicCloud<CloudType>::evolve()
{
    Info<<"KinematicCloud.C-evolve-FFD1"<<endl;

    if (solution_.canEvolve())
    {
        typename parcelType::trackingData td(*this);

        solve(*this, td);
    }
    Info<<"KinematicCloud.C-evolve-FFD2"<<endl;
}
Could you please explain to me what is "trackingData& td" and where it is defined and how can I change it?


Thanks,
Farzad
farzadmech is offline   Reply With Quote

Old   July 28, 2020, 05:22
Default
  #2
Member
 
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 30
Rep Power: 11
oswald is on a distinguished road
You can find "trackingData" in "src/lagrangian/intermediate/parcels/Templates/KinematicParcel/KinematicParcelTrackingData.H", as the filename suggests. It basically holds the interpolators and values for the continuous phase fields.
oswald is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Pseudo-transient Lagrangian approach ASimonsen OpenFOAM Running, Solving & CFD 0 May 20, 2020 08:47
Compiling Lagrangian in a Lagrangian Particle Tracking Solver tzaht OpenFOAM Programming & Development 3 February 3, 2020 03:26
Aurelia Vallier, MultiScale, Eulerian-Lagrangian Couplling, VOF-LPT, Lagrangian, saddy OpenFOAM Programming & Development 0 August 9, 2017 14:28
Request for Lagrangian Particle Tracking Validation or Verification Paper Mojtaba.a OpenFOAM Verification & Validation 6 May 23, 2016 01:47
converse lagrangian field to eulerian Jan_B OpenFOAM Programming & Development 0 August 13, 2015 13:11


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