CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

decomposePar doesn't work fine!!!

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

LinkBack Thread Tools Display Modes
Old   March 17, 2010, 06:08
Default decomposePar doesn't work fine!!!
New Member
Join Date: Feb 2010
Posts: 2
Rep Power: 0
beteproxima is on a distinguished road
I use OpenFoam 1.6 and I have a trouble with utility decomposePar. I want to use simpleFoam and apply a personal boundary condition (BC) to the velocity (U). This boundary condition is compiled in a library called "".
Then this BC has three keywords (opportunely written in the "../0/U" file ) and when I run decomposePar It doesn't transcribe them in the "../processorO/O/U" (and also for the others processor is so) so when I run "mpirun -np 4 simpleFoam -parallel > log &", Openfoam gives me an error: "It can't find for those keywords"!.

I haven't said yet that I call the library with a line in the controlDict file: "libs "";".

Moreover, everything works if I use my BCs in a new solver that includes them: i.e. I compile simpleFoam and my BC class together and run "mpirun -np 4 simpleFoamMyLog -parallel > log &" (without the "libs line" in controlDict).

Thanks, Andrea.

Sorry for my poor English.
beteproxima is offline   Reply With Quote

Old   March 17, 2010, 06:40
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,758
Rep Power: 29
ngj will become famous soon enoughngj will become famous soon enough
Hi Andrea

Could it be that you have not added the keywords in the write-function in your boundary condition?

You could e.g. look into


to get an idea of the procedure.

Hope it helps,

ngj is offline   Reply With Quote

Old   March 17, 2010, 08:54
New Member
Join Date: Feb 2010
Posts: 2
Rep Power: 0
beteproxima is on a distinguished road
Resolved...I forget to modify the write(Ostream& os) function.


beteproxima is offline   Reply With Quote


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
ReactingFoam vassilis OpenFOAM Running, Solving & CFD 75 September 11, 2013 15:22
How to work with constant pressure? Martin Siemens 2 February 25, 2009 14:23
work related to brake study of a vehical aero Siemens 3 November 23, 2006 08:43
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03

All times are GMT -4. The time now is 15:04.