CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FloEFD, FloWorks & FloTHERM

API in FloEFD for updating boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2016, 05:49
Default API in FloEFD for updating boundary conditions
  #1
New Member
 
Join Date: Feb 2016
Posts: 14
Rep Power: 10
Snow360 is on a distinguished road
Hi,

I have never worked with API's before.

I am looking at writing an API to update a convective heat transfer coefficient and the fluid temperature after performing a simulation and then running it again. This would be an equation using goals from the previous simulation to update to the new b.c. This iteration would repeat until a certain tolerance is reached.

I read on the help that this seems to be possible. However since I have never worked with API's I am having trouble starting. I looked at the example excel file and it looks like it doesn't do any iterative solutions. Also, how do I define both values for one boundary condition?

If anyone can give me some tips or help that would be much appreciated!
Snow360 is offline   Reply With Quote

Old   June 20, 2016, 05:58
Default
  #2
New Member
 
Join Date: Feb 2016
Posts: 14
Rep Power: 10
Snow360 is on a distinguished road
I am beginning to understand how to write this API through looking even more into the API. However I still have one question with the boundary condition.

I understand I can define the temperature and heat transfer coefficient with the nikParametersTypes_e. What are the propers ones to use here? For fluid temperature im guessing nikTemperature is right. But for the htc would nikSpecificSurfaceHeatGenerationRate be correct?
Snow360 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
GETVAR Error in Multiband Monte Carlo Radiation Simulation with Directional Source silvan CFX 3 June 16, 2014 09:49
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28


All times are GMT -4. The time now is 01:17.