|
[Sponsors] |
Junction Box Routine - Proper path definition |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Join Date: Jan 2016
Posts: 34
Rep Power: 10 ![]() |
Hi everyone,
I'm trying to implement a Junction Box Routine and I'm using the template and tutorial from section 18 in the help section. However I think there is a mismatch between how they define their path and how I should implement it. My fortran file is exactly the same as the file in section 18 but it crashes pretty much in the beginning and produces the following OUT file error. Code:
Details of error:- --------------- Error detected by routine PEEKCS CDANAM = /USER/INPUT_FILE CRESLT = NONE Current Directory :/ I run CFX pre from the bench where I have defined a working directory. Should I consider that directory home? Or is it the literal home in my desktop? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Peter
Join Date: Sep 2011
Location: Germany
Posts: 39
Rep Power: 14 ![]() |
The /USER/ or /USER_DATA/ folder are within the Memory Managment System (MMS) of CFX and you can not access it directly. They are used to store variables which need to be accessed by the solver.
And yes, the folder need to be created beforehand with the PSHDIR (folder) and MAKDAT (variable) command. But it should be all described in the tutorials. Be sure, that the path of the compiled Fortran files is set correctly in CFX-Pre and that you have actived the junction Boxes in the solver Tab. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Laghouat
Join Date: Feb 2018
Posts: 7
Rep Power: 8 ![]() |
Hi all
I want to set up a simulation in Ansys-cfx with user Junction Box Routine(in Fortran). This JBR is called at the end of each timestep in order to get the the velocity field components (for special area), treat them and inject them again into the solver for the next time step.So, my question is exactely how can a user fortran routine deal (get ,inject...) with the velocity field components every timestep. Please I need your help or a tutorial for this special purpose Thanks for all |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144 ![]() ![]() ![]() ![]() |
This sounds like a very dangerous thing to do. Why can't you use a source term or something like that to do it?
You are going to need a detailed knowledge of the MMS to do what you propose, the tutorials available will not cover that.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
![]() |
![]() |
![]() |
Tags |
fortran code, junction box |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Junction Box Routine Shared Object Library | sam | CFX | 0 | March 3, 2008 12:52 |
New turbulence model - CEL or Junction Box? | flga | CFX | 3 | October 31, 2006 03:04 |
Junction Box | Anil | CFX | 2 | June 27, 2006 10:18 |
User CEL or Junction Box routine? | Lexi | CFX | 6 | January 22, 2004 08:52 |
junction box routine | Lexi | CFX | 2 | January 21, 2004 04:55 |