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

journal file - problem in initialization

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2013, 15:46
Default journal file - problem in initialization
  #1
Member
 
Mohammad Reza Hadian
Join Date: Mar 2009
Location: Yazd, Iran
Posts: 52
Rep Power: 17
hadian is on a distinguished road
i want to create a small journal file to
1- read case and data
2-initialize a surface (which is my air inlet and the name is air_inlet)
3- do the iteration
4- save the case and data
5- exit
here is my journal file. but it does not work well and give me an error in initialization part.

/file/read-case-data /home/hadian/1.cas
/solve/initialize/compute-defaults/air_inlet
/solve/iterate 10
/file/write-case-data /home/hadian/2
yes
/exit yes
/exit
/quit
hadian is offline   Reply With Quote

Old   March 28, 2013, 03:36
Default
  #2
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
It seems that the command for 2 is missing, see below. I have a vague impression that FLUENT will initialize the flow automatically upon iteration. But you should try to manually add this line to check whether it makes any difference.

Quote:
Originally Posted by hadian View Post
i want to create a small journal file to
1- read case and data
2-initialize a surface (which is my air inlet and the name is air_inlet)
3- do the iteration
4- save the case and data
5- exit
here is my journal file. but it does not work well and give me an error in initialization part.

/file/read-case-data /home/hadian/1.cas
/solve/initialize/compute-defaults/air_inlet

ONE LINE MISSING HERE
/solve/initialize/initialize-flow


/solve/iterate 10
/file/write-case-data /home/hadian/2
yes
/exit yes
/exit
/quit
blackmask is offline   Reply With Quote

Old   March 31, 2013, 06:38
Default
  #3
Member
 
Mohammad Reza Hadian
Join Date: Mar 2009
Location: Yazd, Iran
Posts: 52
Rep Power: 17
hadian is on a distinguished road
it seems that the command "/solve/initialize/compute-defaults/air_inlet" does not initialize on air_inlet surface. i do not know if the command is correct it something should be add to it!!!
hadian is offline   Reply With Quote

Old   March 31, 2013, 21:54
Default
  #4
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
/solve/initialize/compute-defaults/velocity-inlet air_inlet
if you name your inlet boundary "air_inlet"

Last edited by blackmask; April 1, 2013 at 05:36.
blackmask is offline   Reply With Quote

Old   April 1, 2013, 03:16
Default
  #5
Member
 
Mohammad Reza Hadian
Join Date: Mar 2009
Location: Yazd, Iran
Posts: 52
Rep Power: 17
hadian is on a distinguished road
this is the result:
> /solve/initialize/compute-defaults air_inlet
invalid command [air_inlet]

so there is something wrong!
hadian 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] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 05:43
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51
PHI file structure Eugene Phoenics 9 November 2, 2001 23:00


All times are GMT -4. The time now is 13:50.