• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Cradle CFD
  3. 1つのユーザー関数にて二つの領域に別々の数値を与える方法について教えてください

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Not Answered
  • Replies 2
  • Subscribers 2
  • Views 2
  • Members are here 0
More Content

1つのユーザー関数にて二つの領域に別々の数値を与える方法について教えてください

shoji_KK
shoji_KK over 3 years ago
非定常計算にて、吸込口の空気の流入温度を参照し、吸込口および吹出口の風速を計算サイクルごとに調整する計算をしたいと考えております。
ユーザー関数にて温度の参照、風量の調整までは出来たのですが、吸込口と吹出口がユーザー入力で別の値
(逆数) を入力しているにも関わらず、同じ値が出てきてしまいます。
片方の数値はすべて反映されていることから、入力値を上書きしているのではないかと考えています。
その解決方法として、​場合分けによる上書きを無くす​方法をけんとうしているのですが、方法が分からず困っています。
場合分けの方法もしくは、他の解決方法をご教示くださると助かります。
  • Sign in to reply
  • Cancel
  • Chuel-Ho.Kim
    0 Chuel-Ho.Kim over 3 years ago
    使用しているソフトウェア名とユーザ―関数名を教えてください。​
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shoji_KK
    0 shoji_KK over 3 years ago
    ご回答いただいたところ、申し訳ございませんが、​
    条件ファイルにてidの値を異なる条件で別の値を設定し、プログラム側のif文で異なる条件を与えることで、個別の条件を与えることが出来ました。​
    ​
    ちなみに、​
    ソフトウェア :SCRYU/Tetra
    ユーザー関数名:use_veloc
    を使用しております。​
    ​ご対応いただきありがとうございました。
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information