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

Reaction + DEFINE_PROFILE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2018, 05:56
Default Reaction + DEFINE_PROFILE
  #1
New Member
 
Join Date: May 2018
Posts: 29
Rep Power: 8
CFDJonas is on a distinguished road
Hello everybody,

I have the following problem:

I have a surface reaction on my boundaries. That's working. But now I want to add another species and change it's mass fraction according to a simple equation. To do so, I started using the DEFINE_PROFILE macro and set the mass_fraction of this species on the corresponding boundary wall. But that means I had to turn off the reaction. However, the new species is not involved in this reaction and is neither my balancing component.

My workaround till now is to export the profiles on the wall and interior, load them into the case, and use the DEFINE_PROFILE macro. But obviously some interaction/data is lost an this solution using this method.

So now is my question is there any possible way to define the profile (i.e. mass fraction) of a component beside a surface reaction on the same boundary. I had thought about using the DEFINE_ADJUST/DEFINE_EXECUTE_AT_END and looping through the boundary faces setting F_YI. But when I activate the reaction the new component isn't considered anymore in this case. Another thing I thought about (but could not manage to implement yet) is to call the F_PROFILE within one of these macros. But I'm not sure which int i I would have to pass in this case.

Thanks in advance, CFDJonas!
CFDJonas 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
PaSR + infinite reaction rate in reactingFoam --> no reactions occurring tatu OpenFOAM Running, Solving & CFD 3 June 2, 2024 11:04
Having problems setting up surface reaction, catalyst, adsorption and desorption Juun FLUENT 12 February 8, 2017 12:03
Defining reaction rate with multiple surface reaction Fred Marias FLUENT 1 September 12, 2013 05:56
Segmentation fault in running alternateSteadyReactingFoam,why? NewKid OpenFOAM 18 January 20, 2011 17:55
chemical reaction - decompostition La S. Hyuck CFX 1 May 23, 2001 01:07


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