CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: vinerm
Forum: FLUENT May 20, 2020, 05:44
Replies: 5
Views: 1,018
Posted By vinerm
Code

The code below is all you need to fetch order of species in Fluent.


#include "udf.h"

DEFINE_ON_DEMAND(fpr)
{
Domain *d = Get_Domain(1);
int i;
for(i = 0; i < 4; i++)
Forum: FLUENT May 19, 2020, 15:11
Replies: 5
Views: 1,018
Posted By vinerm
Mixture_specie_name

I apologize, MIXTURE_SPECIE_NAME function also exists and can be used as well. But usage is different from the function I mentioned.
Forum: FLUENT May 19, 2020, 15:05
Replies: 5
Views: 1,018
Posted By vinerm
Order

It is the one in the second image where listing is done and not the one in the materials panel.

Function requires two arguments, domain and specie index. So, specie_name(d, 0) will return h2o for...
Forum: FLUENT May 19, 2020, 10:46
Replies: 5
Views: 1,018
Posted By vinerm
Species

The order is same as what you see in the Species Name List in GUI. You can also use the function specie_name(Domain *d, int i) with i being the index of the specie to fetch name and compare.

Mass...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 23:06.