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

Entries for August 2, 2013

Register Blogs Community New Posts Updated Threads Search

Old

Useful LES tools in Fluent - Part 2

Posted August 2, 2013 at 04:27 by sbaffini (NuTBox)
Updated December 21, 2016 at 09:09 by sbaffini

A couple of routines i regularly use to output solution files in more manageable ascii files for post-processing in MATLAB. Of course this only makes sense when working in simple geometries where cells have regular patterns (e.g., simple boxes for computations in channels and ducts).

1) output.c: Used to dump an instantaneous field file

2) outputavg.c: Used to dump an averaged field file

More details can be found in the files
Attached Files
File Type: c output.c (1.3 KB, 356 views)
File Type: c outputavg.c (2.7 KB, 897 views)
sbaffini's Avatar
Senior Member
Posted in LES
Views 1651 Comments 0 sbaffini is offline Edit Tags
Old

Useful LES tools in Fluent - Part 1

Posted August 2, 2013 at 04:15 by sbaffini (NuTBox)
Updated December 21, 2016 at 09:09 by sbaffini

Here i collect some very basic tools i used when performing basic LES computations in Fluent.

1) Custom field function for the Q criterion (q_crit.txt, to be renamed in .scm). Some Fluent versions (12, 13 and maybe 14) only have a "Normalized Q criterion" scalar, while previous ones simply don't have it at all. This custom field function is what i used in those dark days.

2) Several initialization routines (init*.c and scalefield.c) fully described in the files...
Attached Files
File Type: txt q_crit.txt (2.3 KB, 2746 views)
File Type: c initialize_chan.c (1.7 KB, 852 views)
File Type: c initialize_pipe.c (1.6 KB, 680 views)
File Type: c initTGV.c (1.3 KB, 619 views)
File Type: c scalefield.c (787 Bytes, 693 views)
sbaffini's Avatar
Senior Member
Posted in LES
Views 7978 Comments 1 sbaffini is offline Edit Tags

All times are GMT -4. The time now is 20:19.