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

decomposePar doesn't work fine!!!

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2010, 05:08
Default decomposePar doesn't work fine!!!
  #1
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 "libMyBordoLogaritmico.so".
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 "myLoglib.so";".


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.

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

Old   March 17, 2010, 05:40
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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

~/OpenFOAM/OpenFOAM-1.5.x/src/finiteVolume/fields/fvPatchFields/derived/pressureInletOutletVelocity/pressureInletOutletVelocity.C

to get an idea of the procedure.

Hope it helps,

Niels
ngj is offline   Reply With Quote

Old   March 17, 2010, 07:54
Default
  #3
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.

Thanks.

Andrea.
beteproxima is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 13:23
work related to brake study of a vehical aero Siemens 3 November 23, 2006 07: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 22:02.