CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

`value'-free boundary conditions in paraFoam

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

Like Tree1Likes
  • 1 Post By yohey

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2009, 08:14
Question `value'-free boundary conditions in paraFoam
  #1
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 7
yohey is on a distinguished road
I'm using version 1.6 on Debian (lenny), and in trouble with paraFoam.

I would like to make a new boundary condition
which doesn't need `value' entry such as `surfaceNormalFixedValue'.

So, I copied `surfaceNormalFixedValue' as following.


$ mkdir -p $WM_PROJECT_USER_DIR/src/finiteVolume/fields/fvPatchFields/derived/copyOfSurfaceNormalFixedValue
$ cp $WM_PROJECT_DIR/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.C $WM_PROJECT_USER_DIR/src/finiteVolume/fields/fvPatchFields/derived/copyOfSurfaceNormalFixedValue/copyOfSurfaceNormalFixedValueFvPatchVectorField.C
$ cp $WM_PROJECT_DIR/src/finiteVolume/fields/fvPatchFields/derived/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.H $WM_PROJECT_USER_DIR/src/finiteVolume/fields/fvPatchFields/derived/copyOfSurfaceNormalFixedValue/copyOfSurfaceNormalFixedValueFvPatchVectorField.H
$ sed -i -e 's/surfaceNormalFixedValue/copyOfSurfaceNormalFixedValue/g' $WM_PROJECT_USER_DIR/src/finiteVolume/fields/fvPatchFields/derived/copyOfSurfaceNormalFixedValue/copyOfSurfaceNormalFixedValueFvPatchVectorField.*


And, I compiled this new boundary condition into `libmyBCs.so'.

Then, I tried to use this boundary condition as

libs ("libOpenFOAM.so" "libmyBCs.so");

in reference to
http://www.cfd-online.com/OpenFOAM_D...tml?1218642042


It works correctly with OpenFOAM-1.6 solvers.
Although, ParaView still fails to load `libmyBCs.so'.


--> FOAM Warning :
From function dlLibraryTable::open(const fileName& functionLibName)
in file db/dlLibraryTable/dlLibraryTable.C at line 79
could not load /home/yohey/OpenFOAM/yohey-1.6/lib/linux64GccDPOpt/libmyBCs.so: undefined symbol: _ZN4Foam12fvPatchFieldINS_6VectorIdEEE31patchMappe rConstructorTablePtr_E


Does anyone have any idea on this?


Sincerely.

Yohey
unnikrsn likes this.

Last edited by yohey; October 6, 2009 at 07:20. Reason: to disable smile
yohey is offline   Reply With Quote

Reply

Tags
boundary conditions, parafoam

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
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 05:58
free stream temperature (boundary conditions) Leentje FLUENT 2 October 11, 2006 08:48
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 19:23
Free Surface Flows / Ocean Waves / Far-field boundary conditions Sundar Prasad Main CFD Forum 5 May 4, 1999 10:25
free surface boundary conditions Gerard Moroney Main CFD Forum 2 November 17, 1998 15:49


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