CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error exporting internal pressure field for new simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2019, 15:11
Default Error exporting internal pressure field for new simulation
New Member
Vitor Heitor Cardoso
Join Date: Jan 2019
Location: Rio de Janeiro
Posts: 10
Rep Power: 3
heitorvitorc is on a distinguished road
Dear community,

I am trying to obtain the permeability of a complex porous media, and to do so, I must acquire the flow rate in the outlet of the geometry for several inlet Pressure values. If I want to simulate 5 cases (such as Case1_P10kPa, Case2_P25kPa, Case3_P35kPa, Case4_P50kPa and Case5_P75kPa), assuming that I performed the Case1 simulation succesfully, Is there a possibility to export the internal fields (Pressure and velocity fields) for the next case to be simulated with it?? The geometry and boundary conditions remain the same, Also, I am using the same mesh for all the cases.

I thought that would be easy, as all I needed to do was to copy the p and U files from the last time step, change the pressure in the p file and then put it on the "0" folder on the next case. But when I do so, I get the error:

" --> FOAM FATAL IO ERROR: Expected a ')' while reading binaryBlock, found on line 22 the punctuation token '{' file: /home/lmmp/OpenFOAM/lmmp-6/run/Permanent/Chip_Micronite_OpenFOAM_P25kPa/0/p at line 22."

However I cannot understand the binary, and I dont know where to change it.

Thanks in advance.

Vitor Heitor
heitorvitorc is offline   Reply With Quote


openfoam 5.0, simplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
pisoFOAM (LES) - internal pipe flow - convergence gu1 OpenFOAM Running, Solving & CFD 0 January 11, 2018 17:39
Smagorinsky Problem - LES - Internal pipe flow gu1 OpenFOAM Running, Solving & CFD 2 December 29, 2017 18:54
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 8 October 25, 2016 20:48
buoyantPimpleFoam - pressure field Fabf OpenFOAM Running, Solving & CFD 2 February 17, 2015 05:02
setting pressure gradient in the internal field afaizm Main CFD Forum 3 January 18, 2015 21:32

All times are GMT -4. The time now is 15:39.