|
[Sponsors] |
September 3, 2008, 06:37 |
Hi to evrybody.
I'm planning
|
#1 |
Senior Member
|
Hi to evrybody.
I'm planning to write a postprocessing utility in OpenFoam that read the results from a steady RANS calculation and do something on it like a random perturbation in order to produce a time history. My question is: If i decompose my mesh, can I run in parallel my application without do anything, like in a standard solver, or have I to do something different? |
|
September 3, 2008, 07:24 |
Hello,
SInce you are only d
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hello,
SInce you are only doing local data manipulation, you application will run in parallel with no changes. Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
September 3, 2008, 11:44 |
Thank you so much Hrvoje!
So,
|
#3 |
Senior Member
|
Thank you so much Hrvoje!
So, if I understood, if I work cell-by-cell without looking for other cells data, the code is allready parallelized... Wow... |
|
September 10, 2008, 07:47 |
Now I have a second question:
|
#4 |
Senior Member
|
Now I have a second question:
I have to access to the single cell-elements of the vol<type>Field list in order to set in there a random perturbation. What I want to do is: volScalarField Up; for (label cellID=0, cellID<nTotCells, cellID++){ Up[cellID] += randomPerturbation; } Where cellID is the cell-number and Up[cellID] is the value of Up in the cell cellID. How can I do it in OpenFOAM? Thank you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallelization of a new solver | jaswi | OpenFOAM Running, Solving & CFD | 19 | August 27, 2012 03:45 |
parallelization on linux | cesco | FLUENT | 1 | September 27, 2008 13:18 |
Parallelization | Levi | Main CFD Forum | 1 | May 25, 2003 03:03 |
About the parallelization | ptyue | Main CFD Forum | 8 | January 27, 2003 00:29 |
Parallelization efficiency.. | karthik | Main CFD Forum | 1 | January 4, 2000 12:20 |