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

Help; fileName invalid in windows

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 29, 2016, 12:45
Default Help; fileName invalid in windows
  #1
New Member
 
Mauricio Aguilar
Join Date: Jul 2016
Posts: 8
Rep Power: 2
MauricioAguilar is on a distinguished road
Dear Foamers,

I can't run the simulation because the chtMultiRegionSimpleFoam will attempt to create a file with colons ":" in the title.
In Linux this would be fine but Windows is making a fuzz about this. I tried scanning through foam code to see if I could easily fix this but I couldn't find how this pathName is set.

The error I get is :

FOAM FATAL ERROR:
Couldn't create directory "/home/ofuser/workingDir/Desktop/OFbox1/box1/50/coarse:Air"

From function bool Foam::mkDir(const Foam::fileName&, mode_t)
in file POSIX.C at line 579.

FOAM exiting


I couldn't find in POSIX.C where this is set, but I think its set as a reference to fileName and previously to Name
---line 429, 444.

I'm possitive this coarse:Name file comes from the Radiation coupling because other solvers haven't created this kind of pathName.

This can be replicated by running the tutorial in heattrasnfer>chtMultiRegionSimpleFoam > multiRegionHeaterRadiation

I would greatly appreciate any suggestions as this has prevented me from even running my simulation, even less checking if its properly set up.

regards,

Mauricio
MauricioAguilar is offline   Reply With Quote

Old   August 1, 2016, 10:32
Default
  #2
New Member
 
Mauricio Aguilar
Join Date: Jul 2016
Posts: 8
Rep Power: 2
MauricioAguilar is on a distinguished road
Update on the subject:

This invalid pathName is generated by calling the radiation model : viewFactor.

I still have not found a solution but changing the model to "none" allows to run the simulation.

I will continue to investigate this and post updates.

EDIT: also needed to change the coupling interface to turbulentTemperatureCoupledBaffleMixed; so afterall it may not be just due to the radiation model.
MauricioAguilar is offline   Reply With Quote

Reply

Tags
chtmultiregionsimplefoam, pathname, posix, radiation

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
parallel simulations - error message: "OPT_ITERATIONS: invalid option name" v8areu SU2 5 July 23, 2015 02:57
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
Remove invalid cells error sazrul STAR-CCM+ 0 October 3, 2013 02:50
OpenFOAM install on Ubuntu Natty 11.04 bkubicek OpenFOAM 13 May 26, 2011 05:48
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


All times are GMT -4. The time now is 22:30.