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

Problem with Journal file for run in Cluster

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2012, 14:13
Default Problem with Journal file for run in Cluster
  #1
Member
 
Fer Villa
Join Date: Apr 2012
Posts: 35
Rep Power: 13
fevi84 is on a distinguished road
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: ("")
fevi84 is offline   Reply With Quote

Old   May 12, 2016, 05:26
Default Re:Problem with Journal file for run in Cluster
  #2
New Member
 
Katja N.
Join Date: May 2014
Location: Sweden
Posts: 13
Rep Power: 11
Katja is on a distinguished road
Quote:
Originally Posted by fevi84 View Post
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
__________________
Katja is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] problem on installing swak4Foam navid2 OpenFOAM Community Contributions 2 May 30, 2012 04:32
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 04:43
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26


All times are GMT -4. The time now is 01:29.