|
[Sponsors] |
[OpenFOAM.com] funkySetBoundaryField: Istream not OK for reading dictionary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2024, 21:13 |
funkySetBoundaryField: Istream not OK for reading dictionary
|
#1 |
New Member
Oscar Zagal
Join Date: Jan 2024
Posts: 16
Rep Power: 2 |
Hi dear all, I am using the solver chtMultiRegionTwoPhaseEulerFoam. I have some trouble with swak4foam:
The content of my funkySetBoundaryDict is: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2312 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // inletGas { field alpha.gas; expressions ( { target value; patchName inlet; variables "posX=pos().x;posY=pos().y;"; expression "pow(posX,2) + pow(posY,2) < pow(0.020,2)"; } ); } when I try to set the field with funkySetBoundaryField -time 0 terminal prints the next output: // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // swakVersion: 202x.yy (Release date: Next release) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Time = 0 Part: inletGas working on field alpha.gas --> FOAM FATAL IO ERROR: (openfoam-2312 patch=240220) Istream not OK for reading dictionary From bool Foam::dictionary::read(Foam::Istream&, bool) in file db/dictionary/dictionaryIO.C at line 93. FOAM exiting can you please give some help with this issue? Best regards, Oscar Last edited by oscar_zagal; September 22, 2024 at 21:27. Reason: adding vital information |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create a dictionary from a *char[]? | jgs55 | OpenFOAM Programming & Development | 0 | January 24, 2023 07:33 |
What are dictionaries in Openfoam ? | granzer | OpenFOAM | 3 | November 25, 2020 01:47 |
driftFluxFoam viscosity model modification problem | dleduc | OpenFOAM Programming & Development | 15 | October 1, 2018 10:37 |
ill defined primitiveEntry starting at keyword 'value' on line 197 ChangeDictionary | Struggle_Achieve | OpenFOAM Pre-Processing | 2 | December 20, 2017 04:58 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |