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

fixedMeanValue BC in parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 4, 2011, 14:31
Default fixedMeanValue BC in parallel
  #1
Member
 
Ganesh Vijayakumar
Join Date: Jan 2010
Posts: 43
Rep Power: 7
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
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
chegdan 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 (Pressure outlet boundary condition) 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.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Reply

Tags
fixedmeanvalue, gaverage, parallel

Thread Tools
Display Modes

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 On
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 22:51
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 06: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 02: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 00:49.