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

time dependant volume fraction UDF doesn't work

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2017, 18:37
Default time dependant volume fraction UDF doesn't work
  #1
New Member
 
Jihyeon Kim
Join Date: Jun 2017
Posts: 4
Rep Power: 9
kjh9537 is on a distinguished road
Dear everybody,


I set UDF for Fluent in order to change volume fraction of my multiphase flow model, like this;

t=0~0.1s -> gas volume fraction =0
t=0.1~0.2s -> gas volume fraction=1
t=0.2~0.3s -> gas volume fraction=0
t=0.3~0.4s -> gas volume fraction=1
..... repeated.

I also attached my UDF.
When I set UDF for the phase at the inlet, it doesn't show any error.
And even calculation run well, but the result shows nothing, just empty pipe.

I guess my code is a bit strange (but computationally no error)
or I forgot certain step to reflect this for the volume fraction at the inlet.
However I really don't know what I exactly miss.

Can anybody help and advice please?
Attached Files
File Type: c unsteady2.c (598 Bytes, 10 views)
kjh9537 is offline   Reply With Quote

Old   June 22, 2017, 06:56
Default
  #2
Senior Member
 
KaLium's Avatar
 
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9
KaLium is on a distinguished road
Copy+paste the code to the message, please.
KaLium 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
How to use a UDF to set the volume fraction in the cells next to a wall? DF15 Fluent UDF and Scheme Programming 33 August 20, 2020 14:36
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 17:12
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Problem of simulating of small droplet with radius of 2mm liguifan OpenFOAM Running, Solving & CFD 5 June 3, 2014 03:53


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