|
[Sponsors] |
solidCylinder (solidParticle) positions error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 20, 2017, 17:50 |
solidCylinder (solidParticle) positions error
|
#1 |
Member
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 8 |
Hello,
I am a new OpenFOAM user (and new in the forums) with almost zero experience in C++ coding. I've been trying to run a solver based on particle tracking SolidCylinderFoam (wirtten by Jelena Andric in OF1.5), which uses a new class called solidCylinder and solidCylinderCloud that are the same as solidParticle and solidParticleCloud, but with a very small change (no properties are changed). I had some issues to make it work on OF5.0 but finally it compiled without problems. Now, the problem comes when I run the test case, which should track 2 particles: Code:
Create time Create mesh for time = 0 Reading field U Reading field rho Reading field nu Reading environmentalProperties Creating particle cloud --> FOAM FATAL IO ERROR: wrong token type - expected Scalar, found on line 19 the punctuation token ')' file: /home/usuario4/Joaquin/OpenFOAM/OpenFOAM-5.0/solidParticleFoam/box/0/lagrangian/defaultCloud/positions at line 19. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&) in file lnInclude/Scalar.C at line 93. FOAM exiting Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.5.x | | \\ / A nd | Web: http://www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class Cloud<solidCylinder>; location "0"; object positions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 2 ( (1e-2 9e-2 0.05 ) 0 (2e-2 9e-2 0.05 ) 0 ) // ************************************************************************* // Code:
2 ( 2.0e-3 2.0e-3 ) Code:
2 ( (1.7e-1 0 0) (1.7 0 0) ) Code:
rhop rhop [ 1 -3 0 0 0 0 0] 1000; e e [ 0 0 0 0 0 0 0] 0.8; mu mu [ 0 0 0 0 0 0 0] 0.2; Thanks in advance |
|
Tags |
error, positions, solidcylinder, solidparticle, solidparticlecloud |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |