We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Where to put VFOPT command

    • solani
      Subscriber

      Hello eveybody

      Because of changing geometries in my simulation I need to use the VFOPT command but I am not sure where to put this command. Can anyone help?

      Here is my code so far:

      SF,InnerInsulationSurface, rdsf,0.9,1 ! radiation settings
      SPCTEMP, 1, 22 ! ambient temperature in case enclosure is open
      
      stef,5.67e-8 ! stefan boltzman constant
      toffst,273.15 ! temperature offset
      
      VFOPT, new !forcing new calculation of few factors
      hemiopt,10 ! resolution of view factor calculation
      tunif,22 ! initial temperature
      

      Thank you for your help

      Ani

    • Erik Kostson
      Ansys Employee
      Hi

      You would need to add an apdl command object under the thermal solution and use it for all load steps:

      See here for some info:

      Thank you

      Erik

    • solani
      Subscriber
      Thank you Erik for your very very fast reply. I selected the wanted step for my APDL command. But now I am a bit confused: What are load steps? Equals the number of load steps to the number of Number of Steps that you can control in the Analysis Settings?
      However what I wanted to ask in my post is the following: Does it matter where I put the VROPT command? So like this

      SF,InnerInsulationSurface, rdsf,0.9,1 ! radiation settings
      SPCTEMP, 1, 22 ! ambient temperature in case enclosure is open

      stef,5.67e-8! stefan boltzman constant
      toffst,273.15! temperature offset

      VFOPT, new !forcing new calculation of few factors
      hemiopt,10 ! resolution of view factor calculation
      tunif,22 ! initial temperature
      or like this
      VFOPT, new !forcing new calculation of few factors

      SF,InnerInsulationSurface, rdsf,0.9,1 ! radiation settings
      SPCTEMP, 1, 22 ! ambient temperature in case enclosure is open

      stef,5.67e-8! stefan boltzman constant
      toffst,273.15! temperature offset


      hemiopt,10 ! resolution of view factor calculation
      tunif,22 ! initial temperature
      I know from Python or Java that the place in the code matters. I thought it would be the same for Ansys. Therefore my question is where to put the VFOPT command in the code.
      Thank you again in advance.
Viewing 2 reply threads
  • The topic ‘Where to put VFOPT command’ is closed to new replies.