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

Deffining New Patch Field Type

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 9, 2011, 09:10
Default Deffining New Patch Field Type
  #1
Member
 
Dan
Join Date: Oct 2010
Location: UK
Posts: 41
Rep Power: 15
dandalf is on a distinguished road
Hi All
I have been trying to define a new velocity patch field type, based on timeVaryingInletOutlet under openFoam 1.7.0 for use with pimpleDyMFoam

I copied and pasted the files, replaced all instances of "timeVaryingInletOutlet" with "myTimeVaryingInletOutlet"

Then altered the code slightly so that instead of taking the refValue from a time data series, it takes it from a ".dat" file.

The code compiled and my new patch field appeared in the list headed
Valid patchField types are :
However when I attempted to run it I got the following error,
Code:
Reading field U

pimpleDyMFoam: symbol lookup error: /home/droper1/OpenFOAM/droper1-1.7.0/lib/linux64GccDPOpt/libmytvfriv.so: undefined symbol: _ZN4Foam43myTimeVaryingUniformInletOutletFvPatchFieldINS_6VectorIdEEEC1ERKNS_7fvPatchERKNS_16DimensionedFieldIS2_NS_7volMeshEEERKNS_10dictionaryE
Then it spat me back into the terminal.

Can anybody help shed some light on what I'm doing wrong?
Any help would be greatly appreciated.

Daniel
dandalf is offline   Reply With Quote

 


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] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
[Commercial meshers] Fluent msh and cyclic boundary cfdengineering OpenFOAM Meshing & Mesh Conversion 48 January 25, 2013 03:28
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08
buoyantSimpleRadiationFoam msarkar OpenFOAM 0 February 15, 2010 06:22
Problems with Turbulence Modeling ezsoal OpenFOAM Running, Solving & CFD 4 November 26, 2009 15:12


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