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

UDS flux definition - Segmentation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2017, 08:56
Default UDS flux definition - Segmentation error
  #1
Member
 
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 10
annan is on a distinguished road
Dear all,

I am working on the simulation of a simple case using the VOF model with 2 phases. I have also implemented a UDS in order to follow the concentration change, But now I have to change the advectif flux to take into consideration what happens at the interface between the 2 phases.
For this reason, I have written a UDF using DEFINE_UDS_FLUX, which depends on the volume fraction gradient (C_VOF_G), but my simulation would not work, I get a segmentation fault.
I first thought the problem comes from the storage of the volume fraction gradient, but even though I defined a UDM it is still not working ... Can someone help me figure out the problem please ?
I can provide the code if needed

Thank you in advance
annan is offline   Reply With Quote

Old   March 12, 2018, 03:19
Default
  #2
New Member
 
xiatiantian
Join Date: Dec 2017
Posts: 5
Rep Power: 8
xiatt is on a distinguished road
Quote:
Originally Posted by annan View Post
Dear all,

I am working on the simulation of a simple case using the VOF model with 2 phases. I have also implemented a UDS in order to follow the concentration change, But now I have to change the advectif flux to take into consideration what happens at the interface between the 2 phases.
For this reason, I have written a UDF using DEFINE_UDS_FLUX, which depends on the volume fraction gradient (C_VOF_G), but my simulation would not work, I get a segmentation fault.
I first thought the problem comes from the storage of the volume fraction gradient, but even though I defined a UDM it is still not working ... Can someone help me figure out the problem please ?
I can provide the code if needed

Thank you in advance
Hi annan,
I have the same proble with you. can you solve the problem now? Please help me. Thank you in advance.
xiatt is offline   Reply With Quote

Old   March 12, 2018, 03:25
Default
  #3
Member
 
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 10
annan is on a distinguished road
Hi Xiatt,
Could you describe your problem please ?
Are you also trying to change the UDS flux with an expression which depends on the VOf gradient ?
Regards
annan is offline   Reply With Quote

Reply

Tags
fluent, fluent - udf, fluent multiphase model, uds_convective_term, vof two-phase


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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 14:08.