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


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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2019, 08:18
Default Important
New Member
Join Date: Oct 2019
Posts: 9
Rep Power: 2
cyberpr123 is on a distinguished road
Hi all,

I am new to openFOAm, i m using OpenFOAM-5.0 .
I m trying to run multi-phase using InterFoam .
But, its showing error that it cannot find file "codeDict" in system directory.

cannot find file "C:/PROGRA~1/BLUECF~1/ofuser-of5/run/hull/system/codeDict"

But, there is no such file in any of the tutorials. Pls help me out. Am i making error in any input files?
cyberpr123 is offline   Reply With Quote

Old   December 30, 2019, 13:44
New Member
Adriana Correia
Join Date: Sep 2018
Posts: 5
Rep Power: 3
Adriana Correia is on a distinguished road
Hi cyberpr123!

I had the same problem as you because I had extra parentheses (highlighted in red). Once I removed them, the problem was solved.

type codedFixedValue;
value uniform 0;
redirectType example;
#include "fvCFD.H"
#include <cmath>
#include <iostream>

-I$(LIB_SRC)/finiteVolume/lnInclude \

-lmeshTools \

const fvPatch& boundaryPatch = patch();
const vectorField& Cf = boundaryPatch.Cf();
scalarField& field = *this;
field = patchInternalField();

forAll(Cf, faceI)
field[faceI] = xxxxx;


Best Regards,
Adriana Correia
Adriana Correia is offline   Reply With Quote


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
important: spillway with aerator device flow_CH CFX 7 March 4, 2013 04:42
important: spillway with aerator device flow_CH Main CFD Forum 1 March 1, 2013 09:17
Which hardwares for workstation are more important to do CFD analysis? caitoc Hardware 9 January 8, 2013 19:31
Important problems in CFD Mixo123 Main CFD Forum 8 June 30, 2012 12:38
please help: very important. if fluent may utilise several materials ?????? bounhh FLUENT 2 May 30, 2011 00:53

All times are GMT -4. The time now is 09:47.