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

return/access a vector to main function scope using my own derivied boundary class?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2014, 10:29
Default return/access a vector to main function scope using my own derivied boundary class?
  #1
Member
 
hua1015's Avatar
 
Hua
Join Date: May 2012
Posts: 31
Rep Power: 13
hua1015 is on a distinguished road
Dear foamer,
Recently, I suffered a problem. I derivied a boundary class from sixDOFMotionDisplacement in of_3.1. In my derivied boundary class, I want to return a vector to main function scope or access a vector from main function scope. My derivied class is used as a boundary in 0 file.
I don't know how to do it
Any help will be appreciated
hua1015 is offline   Reply With Quote

Old   September 29, 2014, 04:30
Default
  #2
Member
 
hua1015's Avatar
 
Hua
Join Date: May 2012
Posts: 31
Rep Power: 13
hua1015 is on a distinguished road
I used extern in my derivied class to declare the returning variable.
But failed....
hua1015 is offline   Reply With Quote

Reply


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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 10:27.