CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

How to use udf to write the gradient ,nabla and laplacian mathematial conventions?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2021, 09:58
Question How to use udf to write the gradient ,nabla and laplacian mathematial conventions?
  #1
New Member
 
WANG LU
Join Date: Sep 2019
Posts: 22
Rep Power: 7
smilingwl is on a distinguished road
Hi, every one,
I need to write a new uds transport equation.And now,I was stuck by a question that I do not know how to compile the gradient,nabla,laplacian
mathematial conventions.I need to add a source term as the attached picture show.
Thank you for your help.
Best wishes!
Attached Images
File Type: jpg _20210511205140.jpg (27.9 KB, 17 views)
smilingwl is offline   Reply With Quote

Old   May 11, 2021, 11:35
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27
pakk will become famous soon enough
Can you type the equation, your picture is unreadable.
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build".
pakk is offline   Reply With Quote

Old   May 11, 2021, 22:12
Default
  #3
New Member
 
WANG LU
Join Date: Sep 2019
Posts: 22
Rep Power: 7
smilingwl is on a distinguished road
Thank you for your reply.
The equation as follow:
\nabla\cdot\left(\frac{keff}{C_{p}}\nabla\left(f_{v}L\right)\right)
Best wishes!
smilingwl is offline   Reply With Quote

Reply

Tags
fluent - udf, source code, uds equation


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
Third order derivative: Gradient of laplacian hrushi.397 OpenFOAM Running, Solving & CFD 1 April 17, 2024 13:59
Why Laplacian is used instead of a combination of divergence and gradient operators? HakikiCanakkaleli OpenFOAM Programming & Development 3 September 26, 2019 08:40
Write function in Laplacian Foam mvee OpenFOAM Running, Solving & CFD 3 March 9, 2018 04:22
UDF for the Laplacian of chemical concentration geauxtigers Fluent UDF and Scheme Programming 0 April 7, 2014 19:03
gradient or laplacian of an unstructured field sawyer86 OpenFOAM Post-Processing 0 March 13, 2014 12:40


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