CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Reach variable in subfunctions in solver

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 17, 2015, 07:51
Default Reach variable in subfunctions in solver
New Member
Join Date: Apr 2014
Posts: 19
Rep Power: 5
Polli is on a distinguished road

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


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating Point Exception Error nyox FLUENT 8 January 22, 2016 08:53
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 13 May 26, 2014 09:05
Unexplained Error during Solver Runs cfb CFX 6 November 9, 2012 16: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 22:43.