Problem with the Solver not doing anything.

First off I am new to this program so I was going through the "Pipe in a Box" tutorial.

I went through all the steps successfully I believe until it came to running at the end. When I ran it nothing happened. It just went ahead to the end of the 5 seconds and all of the vector arrows looked the same. Also the residual plot showed nothing.

No error messages popped up either.

So then I decided to try the completed downloadable file. It loaded the simulation fine, I decided to try to make one small change to see if it would solve. Again same thing, nothing happened but I did get this error.

Warning:
flow-volume [www.9235.5] RANS Flow: Failed
Failed to open file: 'C:\Users\HCM_AD~2\AppData\Local\Temp/of-36dc092F6/1e-006/U'
Warning:
flow-volume [www.9235.5] RANS Flow: Failed
Failed to open file: 'C:\Users\HCM_AD~2\AppData\Local\Temp/of-36dc092F6/1e-006/U'
Warning:
flow-volume [www.9235.5] RANS Flow: Failed
Failed to open file: 'C:\Users\HCM_AD~2\AppData\Local\Temp/of-36dc092F6/1e-006/U'
Warning:
flow-volume [www.9235.5] RANS Flow: Failed
Failed to open file: 'C:\Users\HCM_AD~2\AppData\Local\Temp/of-36dc092F6/1e-006/U'

I know they are all the same but it popped up at the same time.

I checked the directory and "C:\Users\HCM_AD~2\AppData\Local\Temp/of-36dc092F6/" exists but not the "1e-006/U".

Not sure if this is to be created by the program or what.

Any help would be much appreciated. Thanks!

I got an error when I tried

I got an error when I tried to update the MPI. I am just going to leave it it is. It seems to work fine now , might be a bit slower then it could be but it isn't a huge deal to me to leave it solving it the background.

Also there is no option for another PC other than to bring my personal PC to work which I don't plan on doing.

Anyways, thanks for help.

It Worked!

So I set the processes setting to 1 and seems to work when rerunning the pipe simulation.

Also just wondering if this has anything to do with the number of cores as my CPU has 4.

Rerunning it with the default settings nothing happens and this is the diagnostic log:

https://docs.google.com/file/d/0ByDJ81UitrREalVqQW5pV016ZXc/edit?usp=doc...

Sorry for the link but the spam filter wouldn't let me post the log.

Try latest Microsoft MPI

Looks like the MPI process was not allowed to start. This is a system admin issue. There's no problem running fewer processes than you have cores.

You could see if the latest Microsoft MPI install helps. Download it from:
http://www.microsoft.com/en-us/download/details.aspx?id=41634

Then set the preference:
Application->MPI = "C:\Program Files\Microsoft MPI\Bin\mpiexec"

If this doesn't help maybe you could check with your system admin why MPI might be blocked.

Firewall settings

I think the most likely cause of MPI hanging/failing is your local firewall settings. When Microsoft MPI is installed it requires admin privileges and with that it can enter the necessary exceptions in your firewall settings. If you have a restrictive firewall then it could well be in conflict with those MPI settings. Rather than compromise your current computer, I suggest you install Caedium on a less restricted computer if you have the option.

Well it is still not working,

Well it is still not working, I am still getting the same error message.

I tried running it with a separate temp file but I still keep getting the error that it failed because it cannot open "........1e-006/U".

It is writing other stuff within the folder, (0, constant, processor1, processor2, system), so I am pretty sure it has the proper permissions.

I am stumped and have no idea what else to try.

Not a file permissions issue

Given that you are seeing the initial simulation files (0, constant, etc.) I don't think file permissions are the problem. I think it might instead relate to your system blocking either the MPI process or the parallel reconstruction process. I suggest you try running in a single process according to:

  1. Click Files->Preferences
  2. In the Properties Panel set Application->Physics->OpenFOAM->Parallel:Shared Memory->Processes = 1

If you want to pursue the parallel option further then reset the Processes property and enable Application->Physics->OpenFOAM->Diagnostics and try running your simulation again. You should see various text diagnostic messages in the Properties Panel - copy and paste any MPI or reconstruction errors into a new comment.

Caedium needs access to temp directory

It appears that your computer is not allowing Caedium to write to your temp directory. This is fundamental to the way Caedium and other programs work.

Try checking:

  • Is your disk full?
  • Does the directory "C:\Users\HCM_AD~2\AppData\Local\Temp" exist? If not your user id is corrupt, try creating another.
  • Do you see problems with other programs?
  • Does your virus protection produce warnings?
  • Does the "..\Local\Temp" directory have restrictive file permissions? For your user id it should provide full unrestricted permissions.

- No my disk is not full

- No my disk is not full (>150GB available on the C drive)

- Yes the directory exists, the program seems to be writing other things into a created folder also.

- I have not noticed problems with other programs

- Nothing from the virus program

- As far as permissions, I have local admin access to my computer, it is a work computer so they may have some restrictions still in place.

Is there a way to have the program write into a different folder or something along those lines?

Custom Temp Directory

Yes you can specify a custom temp directory according to:

  1. Click File->Preferences
  2. In the Properties Panel set Application->Temp Directory to an existing directory e.g., C:\tmp