• 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. OpenLabs
  3. Problems with openLabs

Stats

  • State Verified Answer
  • Replies 12
  • Subscribers 7
  • Views 6904
  • Members are here 0
More Content

Problems with openLabs

sriluta
sriluta over 2 years ago

Hey,

iam using OpenLabs because my inlet boundary conditions change with the time and the azimuth angle in the unsteady Simulation.  So OpenLabs works with SI Units. In the first time, I defined the pressure in bar ( since didn't know that OpenLabs works with SI Units and there the pressure is defined in pascal ). So with the following function implemented in OpenLabs  for the absolut total pressure I didn't got Problems: 

 3.853 + (-0.9863)*cos(tCoord*1.966 + 2*PI*Time/timePeriod) + 0.08183*sin(tCoord*1.966+ 2*PI*Time/timePeriod) + (-0.2735)*cos(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.6356*sin(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.588*cos(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.1489)*sin(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.07768)*cos(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.2232)*sin(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.3242)*cos(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.01536*sin(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.1678*cos(tCoord*11.796+ 2*PI*Time/timePeriod) + 0.2214*sin(tCoord*11.796 + 2*PI*Time/timePeriod) + 0.1408*cos(tCoord*13.762 + 2*PI*Time/timePeriod) + (-0.0754)*sin(tCoord*13.762+ 2*PI*Time/timePeriod) + (-0.1216)*cos(tCoord*15.728 + 2*PI*Time/timePeriod) + (-0.1922)*sin(tCoord*15.728 + 2*PI*Time/timePeriod)

when I found out that OpenLabs works in SI units, I converted the sizes from bar to pascal and created the new following function: 

390101.438+ (−99956.492)*cos(1.963*tCoord + 2*PI*Time/timePeriod)+ 9062.116*sin(1.963*tCoord + 2*PI*Time/timePeriod)+ (−26626.657)*cos(3.927*tCoord + 2*PI*Time/timePeriod)+63969.754*sin(3.927*tCoord + 2*PI*Time/timePeriod)+57284.906*cos(5.890*tCoord + 2*PI*Time/timePeriod) + (−15828.864)*sin(5.890*tCoord + 2*PI*Time/timePeriod) + (−8525.752)*cos(7.854*tCoord + 2*PI*Time/timePeriod) + (−21014.003)*sin(7.854*tCoord + 2*PI*Time/timePeriod) + (−30331.247)*cos(9.817*tCoord + 2*PI*Time/timePeriod)+2857.566*sin(9.817*tCoord + 2*PI*Time/timePeriod)+15956.411*cos(11.781*tCoord + 2*PI*Time/timePeriod)+19562.181*sin(11.781*tCoord + 2*PI*Time/timePeriod)+11641.815*cos(13.744*tCoord + 2*PI*Time/timePeriod) + (−6956.443)*sin(13.744*tCoord + 2*PI*Time/timePeriod) + (−10933.721)*cos(15.708*tCoord + 2*PI*Time/timePeriod) + (−14834.89)*sin(15.708*tCoord + 2*PI*Time/timePeriod). 

If I click in OpenLabs at validate labs everything is fine, if I start the Simulation, the Simulation stops from beginning and say there is a problem with OpenLabs. I also defined the functions for the absolut Total Temperature and arctg( Vt/Vz) and there are no Problems but just with the pressure. Now I dont know what to do,

greetings Slight smile

  • Sign in to reply
  • Cancel
Parents
  • sriluta
    0 sriluta over 2 years ago

    maybe I how to work with the pow command ?  So If I  want to  transform the first function from bar to pascal in OpenLabs, I think I have to write it in this way:  

    pow(( 3.853 + (-0.9863)*cos(tCoord*1.966 + 2*PI*Time/timePeriod) + 0.08183*sin(tCoord*1.966+ 2*PI*Time/timePeriod) + (-0.2735)*cos(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.6356*sin(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.588*cos(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.1489)*sin(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.07768)*cos(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.2232)*sin(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.3242)*cos(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.01536*sin(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.1678*cos(tCoord*11.796+ 2*PI*Time/timePeriod) + 0.2214*sin(tCoord*11.796 + 2*PI*Time/timePeriod) + 0.1408*cos(tCoord*13.762 + 2*PI*Time/timePeriod) + (-0.0754)*sin(tCoord*13.762+ 2*PI*Time/timePeriod) + (-0.1216)*cos(tCoord*15.728 + 2*PI*Time/timePeriod) + (-0.1922)*sin(tCoord*15.728 + 2*PI*Time/timePeriod)),1e5) ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • sriluta
    0 sriluta over 2 years ago

    maybe I how to work with the pow command ?  So If I  want to  transform the first function from bar to pascal in OpenLabs, I think I have to write it in this way:  

    pow(( 3.853 + (-0.9863)*cos(tCoord*1.966 + 2*PI*Time/timePeriod) + 0.08183*sin(tCoord*1.966+ 2*PI*Time/timePeriod) + (-0.2735)*cos(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.6356*sin(tCoord*3.932+ 2*PI*Time/timePeriod) + 0.588*cos(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.1489)*sin(tCoord*5.88 + 2*PI*Time/timePeriod) + (-0.07768)*cos(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.2232)*sin(tCoord*7.864 + 2*PI*Time/timePeriod) + (-0.3242)*cos(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.01536*sin(tCoord*9.83 + 2*PI*Time/timePeriod) + 0.1678*cos(tCoord*11.796+ 2*PI*Time/timePeriod) + 0.2214*sin(tCoord*11.796 + 2*PI*Time/timePeriod) + 0.1408*cos(tCoord*13.762 + 2*PI*Time/timePeriod) + (-0.0754)*sin(tCoord*13.762+ 2*PI*Time/timePeriod) + (-0.1216)*cos(tCoord*15.728 + 2*PI*Time/timePeriod) + (-0.1922)*sin(tCoord*15.728 + 2*PI*Time/timePeriod)),1e5) ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Andrew Beckett
    0 Andrew Beckett over 2 years ago in reply to sriluta

    Note from a moderator (can't answer the technical question because it's not my field) - the issue with this being caught as potential spam is because of the repeated text. Clearly it's not spam, but that's a common feature of spam, I'm afraid.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • sriluta
    0 sriluta over 2 years ago in reply to Andrew Beckett

    ah okay, good to know thx 

    • 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.

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

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