|
[Sponsors] |
October 30, 2015, 00:24 |
Flow Depth in VOF open channel flow
|
#1 |
New Member
amit
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
hi, can somebody help me with finding depth of water in an open channel. there is no option of finding and exporting depth of water in open channel.
Thanks, |
|
November 2, 2015, 19:28 |
|
#2 |
New Member
Sarang
Join Date: Oct 2015
Posts: 22
Rep Power: 11 |
Are you trying to model something like a SVA-postdam propeller ?
|
|
November 3, 2015, 03:07 |
Open channel flow (VOF)
|
#3 |
New Member
amit
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
I am simulating a simple double phase (air water) open channel flow on stepped channels and spill ways. I need to see the froud plot for which I need the water depths.
|
|
November 5, 2015, 04:07 |
UDF for phase domain
|
#4 |
New Member
amit
Join Date: Mar 2014
Posts: 13
Rep Power: 12 |
hi,
to get the fraud number profile, I got this idea to get the coordinates of the cell centers by using DEFINE_ON_DEMAND subroutine. But I don't know exactly how to do it. I have 2 fluids with Phase ids 1 and 2. I have a 2d model vof open channel flow. I am using the following UDF #include "udf.h" FILE *fout; void Print_Thread_Face_Centroids(Domain *domain, int id) { real FC[1]; face_t f; Thread *t = Lookup_Thread(domain, id); fprintf(fout,"thread id %d\n", id); begin_f_loop(f,t) { F_CENTROID(FC,f,t); fprintf(fout, "f%d %g %g\n", f, FC[0], FC[1]); } end_f_loop(f,t) fprintf(fout, "\n"); } DEFINE_ON_DEMAND(get_coords) { Domain *domain; domain = Get_Domain(1); fout = fopen("faces.out", "w"); Print_Thread_Face_Centroids(domain, 1); Print_Thread_Face_Centroids(domain, 2); fclose(fout); } should I load it as a journal file or I should use paste in TUI. Please suggest. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reverse flow occur while activating open channel flow boundary? | mariam.sara | Fluent Multiphase | 7 | April 26, 2015 08:24 |
open channel flow model VOF in fluent | yasar248 | FLUENT | 0 | April 13, 2015 04:26 |
Open Channel Flow | ElanMorin | FLUENT | 4 | February 25, 2015 17:26 |
VOF Open Channel Flow: Two Liquids | Jan90 | Fluent Multiphase | 0 | May 16, 2014 06:41 |
Open Channel Flow | forsumit | FLUENT | 0 | October 1, 2009 03:01 |