|
[Sponsors] |
December 12, 2014, 07:21 |
Wrong solution after parallelisation
|
#1 |
New Member
Martin K
Join Date: Jan 2013
Location: Germany
Posts: 28
Rep Power: 13 |
Hi all,
I added a volume force rho*AF to UEqn in an interDyMFoam solver to handle a moving reference frame. After running successfully in non-parallel mode, the parallel calculations of this volume force fails. AF and alpha1 are volVectorFields, x is a vector. Code:
x=gSum(alpha1.internalField()* mesh.C().internalField()*mesh.V())/ gSum(alpha1.internalField()*mesh.V()); AF=alpha1*f(x) The attachement shows the AF value over iterations. Up to iteration 170 in parallel mode (wrong solution), after that starting from the same initial condition in non-parallelized mode (correct solution) . Any advice will be appreciated! best regards Martin Edit: Solved, AF was calculated correctly. Last edited by Martin_K_lalelu; December 17, 2014 at 05:36. Reason: Solved |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
grid dependancy | gueynard a. | Main CFD Forum | 19 | June 27, 2014 22:22 |
interFoam solution tolerances | mgdenno | OpenFOAM | 4 | September 13, 2011 13:58 |
Naca 0012 (compressible and inviscid) flow convergence problem | bipulsaha | FLUENT | 1 | July 6, 2011 08:51 |
Transient, initial variables from a previous solution | nakor | FloEFD, FloWorks & FloTHERM | 0 | April 22, 2011 05:34 |
Wall functions | Abhijit Tilak | Main CFD Forum | 6 | February 5, 1999 02:16 |