We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
混相流

混相流

各Binの粒子径の取得例(Discrete Method)

    • FAQFAQ
      Participant

      PBMでDiscrete Methodを利用する場合、UDFから各Binの粒子径の取得例です。 DEFINE_ON_DEMAND(get_d1) {       Domain *md;                int n_pb_disc; int ns; real diam[10];    /* Binsの数に応じて定義 */   n_pb_disc = Domainvar_Get_Integer(,”pb-disc/n-pb-disc”);              for (ns = n_pb_disc – 1; ns >= 0; ns–) { diam[ns] = Domainvar_Get_List_Ref_Float(,”pb-disc/bin-sizes”,(n_pb_disc-1)-ns);         } } ここで、 は以下コマンドより確認することができます。 (rpgetvar ‘pb/domain-ids)