CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

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

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

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

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:
SEVERE
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, 10:13
Default
  #2
New Member
 
Ian
Join Date: Oct 2013
Posts: 18
Rep Power: 4
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.

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

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
Default
  #3
Member
 
Join Date: Jan 2016
Posts: 34
Rep Power: 2
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:

Code:
USER:
  Input File = /home/etc/file.dat
END
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
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 521
Rep Power: 13
Opaque is on a distinguished road
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

Reply

Tags
data input, user junction box

Thread Tools
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 On
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 13 May 26, 2014 09:05
CFX SOLVER error !!! mehrdadeng CFX 3 November 23, 2009 17: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 18:24.