CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] `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 Search this Thread Display Modes
Old   October 5, 2009, 09:14
Question `value'-free boundary conditions in paraFoam
  #1
New Member
 
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 16
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 08:20. Reason: to disable smile
yohey is offline   Reply With Quote

Reply

Tags
boundary conditions, parafoam

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
CGNS Boundary conditions using SU2 denzell SU2 3 July 9, 2018 06:58
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Implementation of boundary conditions for FVM Tom Main CFD Forum 7 August 26, 2014 06:58
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


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