Help! Having problem in accessing volume fraction gradient
Hi, I am using DEFINE_MASS_TRANSFER to add a new phase change model into VOF model.
There is a problem in accessing volume fraction gradient with C_VOF_G. The results of mass transfer rate are 0 on the interface. After I checked the thread storage(thread, SV_VOF_G), I found it always equals null. Any help would be appreciated. Thanks in advance. Code:
DEFINE_MASS_TRANSFER(liq_gas_source_Sun, cell, thread, from_index, from_species_index, to_index, to_species_index) |
Hi Geng Fu,
This should solve your problem: http://www.eureka.im/883.html Alternatively, you can also enable the temporary solver memory (yes) by using the TUI. solve-set-expert. I believe its the 4th question in Fluent v6.3. |
Quote:
I will read the link you gave first. I already enabled the temporary solver memory. Thank you again! All the best. |
Quote:
|
the same problem
Dear Colleagues,
I tried to compile the udf from the link (http://www.eureka.im/883.html), but got the error: Scalar_Reconstruction: undeclared variable Did you manage to compile this udf? Everything was fine? Dear Geng Fu, could you please specify the solution for your original problem? |
Quote:
|
Thank you very much, it is very kind of you!
I am looking forward to hearing from you. Quote:
|
Hi MichaelVS,
I had same error below. Scalar_Reconstruction: argument 5 type mismatch (int instead of pointer to function returning void) And when I compiled the udf not interpreted, there is no such an error. But now, I have an error below when I run calculation. FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. or The UDF library you are trying to load (libudf) is not compiled for 2ddp on the curent platform (win64). anyone can help? |
Quote:
Hope u have solved your problem. If not, let me have a look at ur case file if possible. nictse911@bit.edu.cn Sorry again! Best regards! |
hamed.moradkhani@yahoo.com
do the precedure below
1.define->user-defined->functions->interprated.. interprate the .c file 2.type on the command window of fluent solve(press enter) set(press enter) expert(press enter) answer for the 4 comming questions respectively are: no-yes-no-yes after these 2 steps u can hook the udf from phase intraction->mass tab->user defined->selecting udf... now you can start runing calculation inform me about ur results regards |
Hi,
I am having the same problem, mass transfer is always 0. I switched on the temporary solver memory, but that did not solve the problem. Could you tell me how you solved this issue. |
Quote:
how to store mass fraction gradients in my case? |
Quote:
when i run my case in transient mood, this message and error apprear and suddenly FLUENT crashes. warning: SV_VOF_G not allocated, returning 0 warning: SV_VOF_G not allocated, returning 0 warning: SV_VOF_G not allocated, returning 0 the f1 process could not be started Error:Error writing "| gzip -2cf > FFF-1-58-00000.dat.gz". Error object: #f |
Quote:
|
All times are GMT -4. The time now is 09:12. |