CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

User Junction Box in CFX: Example 1 from the Solver Modeling Guide

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

LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2015, 08:09
Default User Junction Box in CFX: Example 1 from the Solver Modeling Guide
New Member
Join Date: Nov 2015
Posts: 1
Rep Power: 0
gt_moe is on a distinguished road

I am having troubles implementing the Junction Box Example 1: Profile Boundary Condition from the Solver Modeling Guide. Maybe someone has had this problem as well.

How can I add parameters to the variable USER (p.591 in pdf for Relase 16.2)?

What I have tried is using the cfx5cmds on the *.def File to create the ccl file. Then I can edit it with an editor and import it in CFX-Pre.
After that I have a symbol USER in my outline, that I can edit.
Is that the correct way?

My Problem is the following:
When I add this line(as in the guide): Input File = C:\Data\u_profile.dat
it gives the error:
Operation failed. (System exception: ModelRulesImpl::getParam - param not found in object USER: Input File)

It doesnt give an error if I choose a different Name like "Data File", but I think it must be Input File.

Once I enable the junction box in the Solver Control it gives the following error:

ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Signal caught: Segmentation violation |
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine FPX: SIG_HANDLER |

And if I dissable it, the solver crashes even though I am not using my Routine.

I have used a Junction Box Routine in Example 3: Timestep Control successfully. But that example doesnt use an external data file.

What am I doing wrong?

Thanks in advance for any tips or advice.

P.S. My System is Ansys CFX 16.2 on Win7 64bit
gt_moe is offline   Reply With Quote

Old   March 26, 2016, 09:13
New Member
Join Date: Oct 2013
Posts: 23
Rep Power: 12
windfire is on a distinguished road
if you choose to write the lines into the CCL File such as the followings, and then it gives the error, I recommend you to enter the lines into the Command Editor dialog box(as the guide says), then press the "process" button to see if there still exists the error.

# Location of external inlet profiles.
Input File = /home/user/u_profile.dat
# Printing control. First character should be Y or N
User Printing = Yes

PS: I just also read the junction box routine chapter, but cannot find any input files, models or datas involved in the examples under the directory of Ansys\v*\cfx, could you tell me where to find the files?
windfire is offline   Reply With Quote

Old   May 26, 2016, 04:22
Join Date: Jan 2016
Posts: 34
Rep Power: 10
honcho62 is on a distinguished road
I would love to know if someone else also encountered and solved this problem. I had been using CFX 15.0 up until last week where I defined it similarly as OP:

  Input File = /home/etc/file.dat
But now in CFX 16.2 it doesn't work, giving the exact same error. I did have an older setup where I accidentally typed "Input FIle" (capital I in file) and it didn't have an error. So it seems like Input File is reserved for something in CFX 16.2?
honcho62 is offline   Reply With Quote

Old   May 26, 2016, 10:40
Senior Member
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
Unfortunately, the parameters under USER: cannot be duplicates of parameters already used by the software.

I do not recall if the user interface gives any warning about the reserved names for those parameters.

Hope the above helps,
Opaque is offline   Reply With Quote


data input, user junction box

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
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
CFX SOLVER error !!! mehrdadeng CFX 3 November 23, 2009 16:42
CFX User Guide query siw CFX 0 August 21, 2008 03:15
Junction Box Anil CFX 2 June 27, 2006 10:18
CFX 5.5 Roued CFX 1 October 2, 2001 16:49

All times are GMT -4. The time now is 05:21.