|
[Sponsors] |
January 26, 2016, 17:03 |
|
#21 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
The segmentation error usually is regarding some information that is required but isn't available yet (like gradient in the first iteration, for example). In addition to that, are you comparing your values using node or cell values? |
||
January 26, 2016, 17:30 |
|
#22 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
I compared node values taken from the line (option node values is picked in the plot menu).
What do you mean saying "you are using the same number for the C_UDMI and F_UDMI"??
__________________
best regards pblasiak |
|
January 27, 2016, 03:40 |
|
#23 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
Have a look at this post
http://www.cfd-online.com/Forums/flu...tml#post582575 I used another code and compared node and cell values for C_T, UDM and UDS. There are differences between C_T and UDS and UDM. For UDM and UDS differences occur only at boundary. Why does it occur? How to fix it? Can anybody help?
__________________
best regards pblasiak |
|
January 20, 2017, 18:00 |
|
#24 | |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Farzin,
This might be not completely relevant to the topic. In my UDF whenever I am having C_UDSI_G in my adjust function, I receive segmentation error. I saw that in this code you are also using that and I am assuming you compiled and ran it without having any error. Is that right? Did you ever get a segmentation error because of C_UDSI_G? Thanks, Ali Quote:
|
||
January 21, 2017, 01:58 |
|
#25 |
Senior Member
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 16 |
Hi Farzin,
Segmentation error appears when you try to access variable that is not allocated or you perform accessing in wrong manner. Have you set correct values of UDSI? Have you turned on keep memory being free?
__________________
best regards pblasiak |
|
January 21, 2017, 23:33 |
|
#26 | |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Quote:
I am adjusting a UDM and in that I am using C_UDSI_G. I get the segmentation error. Any idea how to solve it? Thanks, Ali |
||
August 3, 2022, 08:10 |
|
#27 | |
Member
sina
Join Date: Nov 2021
Posts: 41
Rep Power: 4 |
Quote:
How can i change UDS boundary value in a Define Adjust UDF? i mean how can i call UDS boundary value to changing in a UDF of Define Adjust? Regards, |
||
Tags |
udf, udm, uds |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adjusting UDM to UDS | mvee | Fluent UDF and Scheme Programming | 16 | June 26, 2018 05:30 |
Segmentation violation | louiza | FLUENT | 16 | June 27, 2017 16:41 |
UDS Unsteady with UDM | shashank312 | FLUENT | 3 | May 15, 2013 16:35 |
UDS stored to UDM do not show the same values | swati_mohanty | FLUENT | 0 | December 3, 2010 04:46 |
usage of UDS & UDM | Tong | FLUENT | 2 | February 15, 2006 11:32 |