CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

fixedMeanValue BC in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 4, 2011, 14:31
Default fixedMeanValue BC in parallel
  #1
Member
 
Ganesh Vijayakumar
Join Date: Jan 2010
Posts: 44
Rep Power: 16
ganeshv is on a distinguished road
The fixedMeanValue BC doesn't work for me in parallel mode. It works fine in serial mode though. Has anyone got it to work in parallel mode?

I'm trying to implement a wall function for eddy viscosity that requires averaging of the velocity vector over the set of cells adjacent to a boundary. The BC I have implemented works fine in serial mode. But once I go parallel, the gAverage function fails on me. I tried implementing the rmap and autoMap functions that are present in the fixedMeanValueFvPatchField BC and also changed the evaluate function to an updateCoeffs function...but to no avail.


Could some one explain to me what is the difference between evaluate and updateCoeffs functions. Does updateCoeffs do evaluate + setting the boundary, value, gradient coeffs etc?

And what does autoMap and rmap do and is it relevant to the gAverage function working properly?
ganeshv is offline   Reply With Quote

Old   November 7, 2011, 13:48
Default
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Quote:
Originally Posted by ganeshv View Post
The fixedMeanValue BC doesn't work for me in parallel mode. It works fine in serial mode though. Has anyone got it to work in parallel mode?

I'm trying to implement a wall function for eddy viscosity that requires averaging of the velocity vector over the set of cells adjacent to a boundary. The BC I have implemented works fine in serial mode. But once I go parallel, the gAverage function fails on me. I tried implementing the rmap and autoMap functions that are present in the fixedMeanValueFvPatchField BC and also changed the evaluate function to an updateCoeffs function...but to no avail.


Could some one explain to me what is the difference between evaluate and updateCoeffs functions. Does updateCoeffs do evaluate + setting the boundary, value, gradient coeffs etc?

And what does autoMap and rmap do and is it relevant to the gAverage function working properly?
I have a simulation running right now with the fixedMeanValue BC in parallel. The code was from the thread (http://www.cfd-online.com/Forums/ope...condition.html) and I have recompiled (with no changes to the code) it to work with the 2.0.x version of OF. So far, everything works fine.
chegdan is offline   Reply With Quote

Reply

Tags
fixedmeanvalue, gaverage, parallel


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 23:51
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 07:17
Cumulative continuity error large in parallel simulations xiao OpenFOAM 3 March 7, 2011 05:13
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 17:05.