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

Declaring and Initialising a Lagrangian Particle/Parcel Array

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2019, 03:30
Default Declaring and Initialising a Lagrangian Particle/Parcel Array
  #1
New Member
 
Nigel Bruce Khan
Join Date: Jul 2017
Location: Ankara, Turkey
Posts: 7
Rep Power: 9
Nigel Bruce Khan is on a distinguished road
Hello I am trying to add van-der-waal force to the list of particle forces in a copy of lagrangian/intermediate/submodel/kinematic/particleForces directory on OpenFoam version 6. I have written the code attached below.

In the code I try to create an array of Lagrangian parcels/particles, but I do not know the right class to declare the array so I am having problems doing it. Could someone please guide me on how to do this.

Also if you have time to notice any other problem, please tell me. Thank you.
Attached Files
File Type: h Vanderwaal.H (3.5 KB, 5 views)
File Type: c Vanderwaal.C (4.3 KB, 7 views)
Nigel Bruce Khan 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
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 17:30
[swak4Foam] Validation of swak4Foam for lagrangian particle tracking nero235 OpenFOAM Community Contributions 13 March 28, 2017 06:45
Lagrangian Particle Tracking in Eulerian-Eulerian Multiphase Flow DarrenC CFX 5 April 7, 2016 15:50
injection problem Mark New FLUENT 0 August 4, 2013 02:30
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 02:29


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