|
[Sponsors] |
June 7, 2017, 03:20 |
Open Foam example wind around buildings
|
#1 |
New Member
Vaidotas Zimnickas
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Hello,
I am quite new CFD moddelling and especially in OpenFoam. I am trying to run OpenFoam example related with wind flow in urban areas however when I trying to run wind around buildings example I face a problem. I get an error like this: FOAM FATAL IO ERROR: Could not open "/home/vaidotas/OpenFOAM/vaidotas-4.1/run/windAroundBuildings/constant/triSurface/buildings.eMesh" file: /home/vaidotas/OpenFOAM/vaidotas-4.1/run/windAroundBuildings/system/snappyHexMeshDict.castellatedMeshControls.features from line 43 to line 43. From function void Foam::refinementFeatures::read(const Foam:bjectRegistry&, const Foam::PtrList<Foam::dictionary>&) in file refinementFeatures/refinementFeatures.C at line 97. What I am doing wrong? Best regards, Vaidotas |
|
June 8, 2017, 07:06 |
|
#2 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 200
Rep Power: 18 |
Hi Vaidotas,
In all the tutorials there is a file called Allrun this file is a script to run automatically the tutorial. If you open the Allrun file with a text editor you can see all the commands necessary to run the tutorial. To understand the commands you must know the scripting language but it's not so difficult. In the case of this tutorial you must run: 1) surfaceFeatureExtract 2) blockMesh 3) snappyHexMesh -overwrite 4) simpleFoam Best Regards, Paulo |
|
June 8, 2017, 07:39 |
|
#3 |
New Member
Vaidotas Zimnickas
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Dear Paulo,
Thank You for your answer. I tried that, but it does not work, I do not know way.. Problem disappear when I re install OpenFoam completely |
|
February 3, 2018, 09:59 |
WindAroundBuildings
|
#4 | |
New Member
Luis Fernando Espinoza Castillo
Join Date: Feb 2018
Posts: 2
Rep Power: 0 |
Quote:
Build : v1712 Arch : "LSB;label=32;scalar=64" Exec : simpleFoam Date : Feb 03 2018 Time : 08:57:07 Host : "DESKTOP-4NORPPB" PID : 572 I/O : uncollated Case : /mnt/c/Users/Public/Documents/tutorials/incompressible/simpleFoam/windAroundBuildings2 nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 2 SIMPLE: convergence criteria field p tolerance 0.0001 field U tolerance 0.0001 field "(k|omega|epsilon)" tolerance 0.0001 Reading field p --> FOAM FATAL ERROR: cannot find file "/mnt/c/Users/Public/Documents/tutorials/incompressible/simpleFoam/windAroundBuildings2/2/p" From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 502. FOAM exiting I tried with the original file and then with a copy of the original (so You donīt think that the mistake is the number 2 after the name)....the problem is the file system (I think so) Please, i need help (SOS) |
||
February 4, 2018, 21:07 |
|
#5 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
I am not sure how you ended up with a time folder of 2. Did you run snappyHexMesh without the -overwrite option? Simplest thing you can do is to copy the p, U, k, epsilon/omega, nut files from "0" folder to "2" folder and type simpleFoam again. I would think that should solve your problem. Cheers, Antimony |
|
February 4, 2018, 22:23 |
|
#6 |
New Member
Luis Fernando Espinoza Castillo
Join Date: Feb 2018
Posts: 2
Rep Power: 0 |
Thank you, your suggestion has sense....I īve forgotten the Phrase "-overwrite"
|
|
Tags |
wind flow buildings |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[snappyHexMesh] Problem with parallel run of snappyHexMesh | Lorenzo92 | OpenFOAM Meshing & Mesh Conversion | 5 | April 15, 2016 05:12 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |