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

Partial derivative of VolvectorField with respect to Temperature

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 4, 2020, 15:59
Default Partial derivative of VolvectorField with respect to Temperature
  #1
Member
 
MNM
Join Date: Aug 2017
Posts: 69
Rep Power: 9
SHUBHAM9595 is on a distinguished road
Dear Foamers,

I'm trying to add a source terms in the Energy Equation (highlighted in blue ), for which I need to compute the partial derivative of volVectorField (M) with respect to volScalarField (T)

(\frac{\partial \textbf{M}}{\partial T})

Here, M is also a separate flow variable (along with usual pEqn.H, TEqn.H and UEqn.H ) which is already being coded using a separate governing Equation as mentioned below.

\frac{\partial \textbf{M}}{\partial t} + (\textbf{U}.\nabla)\textbf{M} = \frac{1}{2}(\Omega \times \textbf{M}) + (\textbf{M} \times \textbf{H} )\times \textbf{M} - (\textbf{M} - \textnormal{mo}\frac{\textbf{H}}{H}) \quad   \textnormal{where} \quad \textnormal{mo} = \frac{constant}{T}


Any suggestion to code the partial derivative will be really helpful.
Attached Images
File Type: jpg FOAM1.JPG (21.8 KB, 8 views)

Last edited by SHUBHAM9595; August 7, 2020 at 09:00.
SHUBHAM9595 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
partial derivative Rita CFX 3 May 21, 2018 07:24
heat transfer coefficient value in floefd jason kid FloEFD, FloWorks & FloTHERM 10 October 16, 2016 17:55
Low Reynolds K Epsilon Launder Sharma Model Functions Doubt... Ruonin Main CFD Forum 17 February 17, 2014 10:52
Obtaining substantial or partial derivative of vel KRK FLUENT 0 January 10, 2007 13:35
Partial Derivative on a unstructured grid Alessandro FLUENT 0 September 7, 2005 16:40


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