|
[Sponsors] |
Yesterday, 11:41 |
Error detected by routine POKER
|
#1 |
New Member
Guocq
Join Date: Dec 2024
Posts: 1
Rep Power: 0 |
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?
|
|
Yesterday, 18:48 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
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. |
|
Tags |
poker cdanam |
|
|
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 |