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

Add custom function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2024, 21:51
Default Add custom function
  #1
New Member
 
Join Date: Jan 2024
Posts: 3
Rep Power: 2
tomsjerry is on a distinguished road
Hello everyone,

I want to apply a custom equation solver to the source term
y=x^{3}*T+x^{2}+1
y=-x+100

Then combine the two equations:
x^{3}*T+x^{2}+1+x-100=0
Solve iteratively to find x, and back-substitute the equation to find y

source item
S=y*100+2.5e5

I want to know how to apply the obtained results to the source terms through iteration.Which macro do I need to call?
I would be grateful if you could provide advice!
tomsjerry 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
Create a custom function object t.oliveira OpenFOAM Programming & Development 13 June 24, 2022 06:41
Error in enabling the python wrapper Jinn SU2 Installation 2 April 23, 2022 14:52
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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