|
[Sponsors] |
March 17, 2010, 05:08 |
decomposePar doesn't work fine!!!
|
#1 |
New Member
-
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
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. |
|
March 17, 2010, 05:40 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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 |
|
March 17, 2010, 07:54 |
|
#3 |
New Member
-
Join Date: Feb 2010
Posts: 2
Rep Power: 0 |
Resolved...I forget to modify the write(Ostream& os) function.
Thanks. Andrea. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |