CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Open Foam example wind around buildings

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

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2017, 02:20
Unhappy Open Foam example wind around buildings
  #1
New Member
 
Vaidotas Zimnickas
Join Date: Jun 2017
Posts: 2
Rep Power: 0
Vaidotas is on a distinguished road
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
Vaidotas is offline   Reply With Quote

Old   June 8, 2017, 06:06
Default
  #2
Senior Member
 
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 172
Rep Power: 11
vatavuk is on a distinguished road
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
vatavuk is offline   Reply With Quote

Old   June 8, 2017, 06:39
Default
  #3
New Member
 
Vaidotas Zimnickas
Join Date: Jun 2017
Posts: 2
Rep Power: 0
Vaidotas is on a distinguished road
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
Vaidotas is offline   Reply With Quote

Old   February 3, 2018, 08:59
Default WindAroundBuildings
  #4
New Member
 
Luis Fernando Espinoza Castillo
Join Date: Feb 2018
Posts: 2
Rep Power: 0
LuisPeruArq is on a distinguished road
Quote:
Originally Posted by vatavuk View Post
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
I have a simliar problem, when i executed "simpleFoam" appears this:

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)
LuisPeruArq is offline   Reply With Quote

Old   February 4, 2018, 20:07
Default
  #5
Senior Member
 
Join Date: Aug 2013
Posts: 350
Rep Power: 7
Antimony is on a distinguished road
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
LuisPeruArq likes this.
Antimony is offline   Reply With Quote

Old   February 4, 2018, 21:23
Default
  #6
New Member
 
Luis Fernando Espinoza Castillo
Join Date: Feb 2018
Posts: 2
Rep Power: 0
LuisPeruArq is on a distinguished road
Thank you, your suggestion has sense....I īve forgotten the Phrase "-overwrite"
LuisPeruArq is offline   Reply With Quote

Reply

Tags
wind flow buildings

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with parallel run of snappyHexMesh Lorenzo92 OpenFOAM Native Meshers: snappyHexMesh and Others 5 April 15, 2016 04:12
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 4 August 14, 2014 06:42
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16


All times are GMT -4. The time now is 00:59.