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

time dependant volume fraction UDF doesn't work

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 21, 2017, 17:37
Default time dependant volume fraction UDF doesn't work
  #1
New Member
 
Jihyeon Kim
Join Date: Jun 2017
Posts: 4
Rep Power: 2
kjh9537 is on a distinguished road
Sponsored Links
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, 4 views)
kjh9537 is offline   Reply With Quote
Sponsored Links

Old   June 22, 2017, 05:56
Default
  #2
Senior Member
 
KaLium's Avatar
 
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 142
Rep Power: 2
KaLium is on a distinguished road
Copy+paste the code to the message, please.
KaLium is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use a UDF to set the volume fraction in the cells next to a wall? DF15 Fluent UDF and Scheme Programming 15 March 14, 2017 11:12
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Problem of simulating of small droplet with radius of 2mm liguifan OpenFOAM Running, Solving & CFD 5 June 3, 2014 02:53
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11

Sponsored Links


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