Using fieldAverage function in parallel
Hi all,
I am currently running a case analyzing spray in a tube using the sprayFoam solver. I am running it remotely on multiple processes via the mpirun command. The code I am using to run the solver is: mpirun -np 16 sprayFoam -parallel > log 2>&1 This has worked perfectly until I wanted to use the fieldaverage function. I receive an error message stating that the fieldAverage function was unable to locate a file path. error message: Code:
[1] --> FOAM FATAL ERROR: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Thanks!! and let me know if you need anymore info |
Hello Calvin,
Are you sure the error is related to the fieldAverage function? Your error message complains about a missing file named "s" and this is usually the default name of the variable used in scalar transport, which is the function you are using right after fieldAverage in your controlDict. Was the scalarTransport function working before you added the fieldAverage function? Yann |
omg Yann you're totally right! I have over looked that for sooooo long
It is resolved :) Thankyou! |
All times are GMT -4. The time now is 19:32. |