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

Fluent: Setting boundary conditions in journal file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 17, 2022, 08:02
Default Fluent: Setting boundary conditions in journal file
  #1
New Member
 
Join Date: Feb 2022
Posts: 1
Rep Power: 0
cfd123_ is on a distinguished road
Hey all,
I am currently working on starting FLUENT in batch mode on Windows system. I already set up the .cas file with the GUI. Now I want to start fluent in background by submitting the journal file (the command I am using in the Windows Shell is "fluent 2ddp -t4 -hidden -i Test.jou). I already got it working, but as soon as I am trying to set boundary conditions e.g. x-velocity in the journal file, the initialization of the domain fails.

My journal-file:

; Read case file
/file/read-case FFF-fast.cas.h5
;
; Define Inlet Velocity
/define/boundary-conditions/velocity-inlet inlet no yes yes no 0 yes no 10 no 0 no 603.15 no yes 1 0.01
;
; Write Boundary Condition file
;/file/write-bc BoundaryConditions
;
; Initialize the solution
; /solve/initialize/compute-defaults/velocity-inlet inlet
/solve/initialize/initialize-flow
;
; Calculate 50 iterations
it 50
;
; Write data file
wd example50.dat
;
; Exit Fluent
exit

yes

After initialzing the flow the following error message appears in the trn-file

Error at Node 0: interpolate_profile_field: thread 7: profile "" does not exist.

Error at Node 1: interpolate_profile_field: thread 7: profile "" does not exist.

Error at Node 2: interpolate_profile_field: thread 7: profile "" does not exist.

Error at Node 3: interpolate_profile_field: thread 7: profile "" does not exist.

===============Message from the Cortex Process================================

Compute processes interrupted. Processing can be resumed.

================================================== ============================

Warning: An error or interrupt occurred while reading the journal file.
Some commands may not have been completed.


How to correct this error message and get fluent working? What does .h5 mean?

Appreciate every help

Regards,
cfd123_
cfd123_ is offline   Reply With Quote

Old   February 18, 2022, 02:53
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
most likely the problem is here
Code:
/define/boundary-conditions/velocity-inlet inlet no yes yes no 0 yes no 10 no 0 no 603.15 no yes 1 0.01
use fluent in GUI mode
put in console
Code:
define/boundary-conditions
press enter, check the list of available commands

find the proper command sequence for your case
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   February 18, 2022, 12:03
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,676
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
.h5 is a container format used by other Ansys CFD programs. The format has existed for a long time, it just hasn't been the default for Fluent. Ansys now uses .h5 for all its CFD to harmonize file formats. To write the legacy .cas file you have to check/uncheck some boxes. It shouldn't matter though to 99.999% of users, it's just a container format.


You should do what has been suggested and type define/boundary-conditios in for your case and make sure you have all the prompts entered correctly for your case. Don't just copy and paste journals from the internet. If the problem still persists then you have a setup issue with your case... The error is Fluent is looking for a profile to map onto some boundary (I know not where). The profile name is blank.
LuckyTran is offline   Reply With Quote

Reply

Tags
batch mode, cfd, fuent

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
[openSmoke] LaminarSMOKE compilation error mdhfiz OpenFOAM Community Contributions 7 October 4, 2022 13:57
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 15:58.