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

integrating a variable in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2014, 20:01
Default integrating a variable in openfoam
  #1
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18
nandiganavishal is on a distinguished road
Dear Foamers,

I would like to integrate a variable (say A(x)), where x is the axial direction, varying from 0 to L (L is the length of the domain) and add it in the following PDE,

d^2T/dx^2 - integral(A(x) dx)(from 0 to L)*dT/dx + C = 0;

A(x) is obtained by solving another PDE.

Please let me know how to implement this.

Thanks

Vishal
nandiganavishal is offline   Reply With Quote

Old   September 23, 2015, 18:30
Default
  #2
Senior Member
 
sahm's Avatar
 
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 16
sahm is on a distinguished road
Hi Vishal

Have you found anything?

I'm trying to find a method to integrate a function (which is based on variables from the fields) to calculate a boundary condition.

SAHM
__________________
SAHM
sahm 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
ESI-OpenCFD Releases OpenFOAM v2.2.0 opencfd OpenFOAM Announcements from ESI-OpenCFD 13 March 30, 2013 16:52
[Gmsh] gmsh 2.6.0 conversion to OpenFoam 160 rosswin OpenFOAM Meshing & Mesh Conversion 0 March 5, 2013 07:34
OpenFoam-1.6-ext Allwmake compilation error - one last barrier Pat84 OpenFOAM Installation 15 July 25, 2012 21:49
Problems with installation of OpenFoam sheyer OpenFOAM Installation 8 July 28, 2008 03:45
Env variable not set gruber2 OpenFOAM Installation 5 December 30, 2005 04:27


All times are GMT -4. The time now is 11:56.