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

Error during tutorial 2.1.5.3 Mapfields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2016, 10:23
Default Error during tutorial 2.1.5.3 Mapfields
  #1
New Member
 
Roy
Join Date: Nov 2016
Posts: 2
Rep Power: 0
mazamitla is on a distinguished road
Hey everybody,

I just started using openFOAM and am working my way through the tutorial. So far I encountered a few problems which I eventually was able to fix myself with a little search here and there.

However during step 2.1.5.3 of the tutorial I am now stuck.

I created a new folder cavityFine in the workingDir using as in 2.1.5.1 of the tuturial:

mkdir cavityFine
cp -r cavity/constant cavityFine
cp -r cavity/system cavityFine
cd cavityFine

Then I edited the blockMeshDict file as described in step 2.1.5.2 of the tutorial, subsequently ran blockMesh (this works).

However during step 2.1.5.3 when I execute the command:

mapFields ../cavity -consistent

The utility should run with output to the terminal including:
Quote:
Source: ”..” ”cavity”
Target: ”.” ”cavityFine”

Create databases as time

Source time: 0.5
Target time: 0.5

Create meshes

Source mesh size: 400 Target mesh size: 1600

Consistently creating and mapping fields for time 0.5

interpolating p
interpolating U

End
This is supposed to be the result as stated in the tutorial however I get the following outcome:
Quote:
Source: ”..” ”cavity”
Target: ”.” ”cavityFine”

Create databases as time

--> FOAM FATAL IO ERROR:
cannot find file

file: ./cavity/system/controlDict at line 0.
From function regI0object::readStream()
in file db/regI0object/regI0objectRead.C at line 237.
FOAM exiting
I am not sure how to proceed and would appreciate any help advise that you could provide to tackle this problem.

Regards,
mazamitla is offline   Reply With Quote

Old   November 8, 2016, 12:17
Default
  #2
Member
 
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 11
arsalan.dryi is on a distinguished road
Hi Roy,

Problem is explained obviously in the error text, just read it.
Check if the controlDict is exist at cavity/system.

Regards,
Arsalan.
arsalan.dryi is offline   Reply With Quote

Old   November 9, 2016, 08:47
Default
  #3
New Member
 
Roy
Join Date: Nov 2016
Posts: 2
Rep Power: 0
mazamitla is on a distinguished road
Hey arsalan,

Thanks for the advice, I checked the folder cavity/system and there is definately a "controlDict" file present there. See image below.

Any other suggestions? Maybe I am missing something very simple.


mazamitla is offline   Reply With Quote

Old   November 9, 2016, 13:12
Default
  #4
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
Are you sure you are in the right directory?
It should read:
Source: ”..” ”cavity”
Target: ”<path>” ”cavityFine”
but in the attached picture it says:
source "." "cavity"
Target: ”<path>” ”cavityFine”

Note the single and double dots on the first line. You should be in cavityFine when running the mapFields utility. Also both cases should be in the same directory for .. to be able to address the cavity case
anishtain4 is offline   Reply With Quote

Reply

Tags
cavity, cavityfine, error, mapfields, tutorial


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
tutorial files KITetima FLUENT 8 November 23, 2019 16:05
AMI - Propeller Tutorial diverging kingmaker OpenFOAM Running, Solving & CFD 2 November 4, 2016 02:57
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 03:25
CFD-ACE Tutorial for Serpentine Fuel cell Channel Taqi Main CFD Forum 0 April 13, 2008 13:12
Rotor/stator tutorial, and how to... gilberto CFX 5 January 21, 2002 09:41


All times are GMT -4. The time now is 11:14.