CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Problem with Journal file for run in Cluster (https://www.cfd-online.com/Forums/fluent/102697-problem-journal-file-run-cluster.html)

fevi84 May 31, 2012 14:13

Problem with Journal file for run in Cluster
 
Hi all, I need help.

I'm running a case of the Fluent 14.0 (parallel) in a Cluster, and I interpreted of the UDF function in the journal file as follow:

define/user-defined/interpreted-functions "nameudf.c" "cpp" 10000 no

but this not work

I tried to put the whole directory instead "nameudf.c", but not work

Anyone Knows, what can be the problem?

Thank you for attention.

The whole journal file is:

file/read-cas-data VOFaxiNf1000-12
define/user-defined/interpreted-functions "gas_fraction_axis.c" "cpp" 10000 no
define/user-defined/function-hooks/initialization "gas_fraction_axis" ""
solve/initialize/initialize-flow
file/auto-save/case-frequency if-case-is-modified
file/auto-save/data-frequency 100
file/auto-save/root-name VOFaxiNf1000
file/confirm-overwrite y
solve/set/time-step 0.0001
solve/dual-time-iterate 1000 20
file/wd finVOFaxiNf1000
exit
yes


The erro message when function is initialized, is:
>
> Enter Initialization function 1 from list: ("")
``gas_fraction_axis'' unknown -- enter choice again.
Enter Initialization function 1 from list: ("")

Katja May 12, 2016 05:26

Re:Problem with Journal file for run in Cluster
 
Quote:

Originally Posted by fevi84 (Post 364131)
Hi all, I need help.

I'm running a case of the Fluent 14.0 (parallel) in a Cluster, and I interpreted of the UDF function in the journal file as follow:

define/user-defined/interpreted-functions "nameudf.c" "cpp" 10000 no

but this not work

I tried to put the whole directory instead "nameudf.c", but not work

Anyone Knows, what can be the problem?

Thank you for attention.

The whole journal file is:

file/read-cas-data VOFaxiNf1000-12
define/user-defined/interpreted-functions "gas_fraction_axis.c" "cpp" 10000 no
define/user-defined/function-hooks/initialization "gas_fraction_axis" ""
solve/initialize/initialize-flow
file/auto-save/case-frequency if-case-is-modified
file/auto-save/data-frequency 100
file/auto-save/root-name VOFaxiNf1000
file/confirm-overwrite y
solve/set/time-step 0.0001
solve/dual-time-iterate 1000 20
file/wd finVOFaxiNf1000
exit
yes


The erro message when function is initialized, is:
>
> Enter Initialization function 1 from list: ("")
``gas_fraction_axis'' unknown -- enter choice again.
Enter Initialization function 1 from list: ("")

Hello,

I know this is an old question, but I faced it recently and found that the answer is quite simple: remove the space between the quotation marks:
define/user-defined/function-hooks/initialization "gas_fraction_axis"""

Hope this helps


All times are GMT -4. The time now is 02:35.