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

positions file on the latest version of openfoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 25, 2019, 20:22
Default positions file on the latest version of openfoam
  #1
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
Hi all,


I am trying to recreate the solidParticle example from here: https://pingpong.chalmers.se/public/...lication-2.pdf


on openFoam v7. I was able to create the solver in the tutorial and compile it without any errors, but unless I am mistaken there is a problem with positions file format:




Code:
--> FOAM FATAL IO ERROR: 
wrong token type - expected Scalar, found on line 19 the punctuation token ')'

file: /run/media/abe/spindisk/Simulations/interTrashFoam/damBreak/0/lagrangian/defaultCloud/positions at line 19.

    From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&)
    in file lnInclude/Scalar.C at line 101.

I can only get the solver to run with zero particles. The positions of the two particles are:


Code:
2
(
(2e-2 0.58 0.005) -1
(3e-2 0.58 0.005) -1
)

I have been digging around in the source code all day and can't seem to find where things are read in. The tutorials only contain kinematic particles, where positions are stored in /constant. Any ideas?


Thanks
KTG is offline   Reply With Quote

 

Tags
solidparticlecloud


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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