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

Error detected by routine POKER

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   Yesterday, 11:41
Unhappy Error detected by routine POKER
  #1
New Member
 
Guocq
Join Date: Dec 2024
Posts: 1
Rep Power: 0
Guocq is on a distinguished road
When I am doing a transient simulation, I want to change the pressure condition at the outlet in real time. To achieve this function, I created an expression and hope to change the value of the expression at the end of each time step through Junction Box Routine. An error occurred during the CFX-Solver calculation process, indicating that the POKED command was used incorrectly. I suspect that the input parameter CDANAM in the POKED command is set incorrectly. I hope someone can explain in detail the specific usage of POKED in my application scenario. How should I enter the required parameters so that the program can run normally?
Attached Images
File Type: png PixPin_2024-12-26_23-37-22.png (34.7 KB, 3 views)
File Type: png PixPin_2024-12-26_23-37-43.png (60.3 KB, 3 views)
Guocq is offline   Reply With Quote

Old   Yesterday, 18:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Why can't you do this using a CEL expression and not use User Fortran at all? That is much simpler and you will get less errors.

If you have to use User Fortran - why aren't you doing this using a User CEL Function? This is the simplest form of User Fortran and you do not need to get involved in the memory management - which is poorly documented and complex. A User CEL Function is much simpler.

In other words, you are doing this the hard way, and there are at least two easier ways of doing it.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
poker cdanam


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
two different gas! Fluid pair model! saha2122 CFX 7 February 9, 2022 08:15
How to make user routine just be called once in one time step? doublestrong CFX 3 October 22, 2018 00:06
calculate particle temperature gradient with user routine amd18 CFX 1 April 3, 2017 12:32
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31
user defined function cfduser CFX 0 April 29, 2006 11:58


All times are GMT -4. The time now is 07:43.