|
[Sponsors] |
August 1, 2021, 09:41 |
the problem regarding boundarydata importing
|
#1 |
Senior Member
|
Hi guys, I am using OPENFOAM-Extend4.1 and I need to import boundarydata. As shown below, the pressure file is included by using #include command. However, when I run the simulation, the error appearred. Do you have any idea?
Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class scalarAverageField; object values; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Average 0 // Data on points #include "p.data" Code:
--> FOAM FATAL IO ERROR: incorrect first token, expected <int> or '(', found on line 21 the word '#include' Code:
400 ( 97692.8 97769.8 97847.8 97926.4 98005.3 98084.3 98162.8 ..... ) Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.1 | | \\ / A nd | Web: http://www.foam-extend.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class scalarAverageField; object values; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Average 0 // Data on points 400 ( -233.563 -156.563 -78.563 0.037 78.937 157.937 ... ) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 04:37 |
Problem with importing parasolid file in GAMBIT | samanlak98 | Mesh Generation & Pre-Processing | 0 | June 21, 2019 19:11 |
"There was a problem importing the mesh..." | JohMey | CFX | 6 | February 13, 2018 10:19 |
Problem in Importing CFX results in Tecplot 360-2012 | safikhani_hamed | CFX | 7 | October 12, 2013 06:29 |
Problem of importing the geometry | Dany | CFX | 4 | March 28, 2003 09:49 |