CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   decreasing solving time of TwoPhaseEulerFoam fluidized bed (https://www.cfd-online.com/Forums/openfoam-pre-processing/216303-decreasing-solving-time-twophaseeulerfoam-fluidized-bed.html)

gryphaea1635 April 3, 2019 00:10

decreasing solving time of TwoPhaseEulerFoam fluidized bed
 
Dear Forum members,


I am very new to OpenFOAM and am trying to work with the fluidized bed tutorial in the twoPhaseEulerFoam section. When I start processing by typing twoPhaseEulerFoam, it takes a long time to solve. What would be typically done to reduce the processing time?



I've tried setting up parallel processing, and my decomposeDict looked like this:
Code:

FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    location    "system";
    object      decomposeParDict;
}


numberOfSubdomains 64;

method simple;

simpleCoeffs
{
    n    (8 8 1);
    delta    0.001;
}

hierarchicalCoeffs
{
    n    (1 1 1);
    delta    0.001;
    order    xyz;
}

manualCoeffs
{
    dataFile    "";
}

distributed    no;

roots        ();



It still took a long time, admittedly because I'm still not sure as to exactly how parallel processing works. What should I do so that the solver takes the least amount of time possible? Or would it be a better idea to modify parameters the controlDict instead?



Thank you!!

gryphaea1635 April 3, 2019 19:37

Sorry for the double post, but:

I really didn't know that there was a limit to the number of processors I can use, so my b if my above post seemed absurd. I checked the CPU information of my linux virtualbox, which I'm using to run openfoam, and I only have 1 cpu core. Does that mean that I can't do parallel processing on my virtualbox? How would I set up parallel processing in this case?

I'm really new to Openfoam and computing in general, so please forgive me if any parts of my question don't seem to make sense. I'd be happy to clarify.


All times are GMT -4. The time now is 19:56.