|
[Sponsors] |
November 30, 2017, 08:56 |
UDS flux definition - Segmentation error
|
#1 |
Member
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 10 |
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 |
|
March 12, 2018, 03:19 |
|
#2 | |
New Member
xiatiantian
Join Date: Dec 2017
Posts: 5
Rep Power: 8 |
Quote:
I have the same proble with you. can you solve the problem now? Please help me. Thank you in advance. |
||
March 12, 2018, 03:25 |
|
#3 |
Member
annan
Join Date: Nov 2016
Posts: 72
Rep Power: 10 |
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 |
|
Tags |
fluent, fluent - udf, fluent multiphase model, uds_convective_term, vof two-phase |
|
|
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 |