|
[Sponsors] |
[OpenFOAM] `value'-free boundary conditions in paraFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 5, 2009, 09:14 |
`value'-free boundary conditions in paraFoam
|
#1 |
New Member
Yohey Ishizu
Join Date: May 2009
Location: Tokyo, Japan
Posts: 6
Rep Power: 17 |
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 Last edited by yohey; October 6, 2009 at 08:20. Reason: to disable smile |
|
Tags |
boundary conditions, parafoam |
|
|
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 |