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

Reach variable in subfunctions in solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2015, 07:51
Default Reach variable in subfunctions in solver
  #1
New Member
 
Werner
Join Date: Apr 2014
Posts: 19
Rep Power: 11
Polli is on a distinguished road
Hello,

i have the following problem.
In OF240 i want to use the Field "Theta" out of the kinetic theory. In detail i want to use Theta in the main solver. "twoPhaseEulerFoam.C". How can i excess easily the field. I wrote a output funktion in the kineticTheory.H file but the error says that he cant find the my function "giveTheta()". So do i have to specify the function also in other locations? And when, were?
Polli 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
Floating Point Exception Error nyox FLUENT 11 November 30, 2018 12:31
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
Unexplained Error during Solver Runs cfb CFX 6 November 9, 2012 15:42
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 11:34
Pass a variable from a class to a subequation in the main solver lord_kossity OpenFOAM Running, Solving & CFD 0 September 3, 2009 12:03


All times are GMT -4. The time now is 08:44.