WOLFRAM

Products
  • Wolfram|One
  • Mathematica
  • Wolfram Notebook Assistant + LLM Kit
  • Wolfram|Alpha Notebook Edition
  • System Modeler
  • All Products
Consulting & Solutions
  • Wolfram Consulting
  • Industry Solutions
  • Solutions for Education
Learning & Support
  • Wolfram U Courses
  • Wolfram Language Resources
  • Wolfram Community
  • Support FAQs
  • Contact Support
Company
  • About Wolfram
  • Careers
  • Events
  • Educational Programs
  • All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
  • Your Account
  • User Portal
Search

Mechanical Systems  / Function Index  /
Previous section-----Next section

SetGuess
2D/3D

• SetGuess[rules] sets the current values of the system initial guesses. Guesses are given as a list of rules specifying the new values of the variables that are to have their current guesses changed.
• SetGuess[] restores all of the initial guesses to their default values as specified with
SetBodies.

• SetGuess does not change the values of any of the permanent guesses set with SetBodies. Only the guesses that will be used for the very next solution attempt are changed.
• SetGuess accepts the
SetParameters option to determine whether parameters in rules are used to change the values of system parameters. The default setting is SetParameters->False.
• SetGuess can be used to change the values of existing parameters with SetParameters->True, but not to introduce new ones; use SetParameters as a separate function call.
• See also: InitialGuess, LastSolve.

Further Examples

Load the Modeler2D package and define a simple model.

In[1]:=

Here the model is solved at  . LastSolve returns the most recently found solution.

In[2]:=
Out[2]=
Out[3]=

If SetGuess is used to change specific initial guesses, the return value of LastSolve reflects the change.

In[4]:=
Out[4]=
Out[5]=

Here the guesses are all reset to the values specified with SetBodies.

In[6]:=
Out[6]=

See HelpModel2D.



  • Products
  • Wolfram|One
  • Mathematica
  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps
  • Finance Platform
  • System Modeler
  • Wolfram Player
  • Wolfram Engine
  • WolframScript
  • Wolfram Workbench
  • Volume & Site Licensing
  • Enterprise Private Cloud
  • Application Server
  • View all...
  • Services
  • Technical Consulting
  • Corporate Consulting
  • For Customers
  • Online Store
  • Product Registration
  • Product Downloads
  • Service Plans Benefits
  • User Portal
  • Your Account
  • Support
  • Support FAQ
  • Customer Service
  • Contact Support
  • Learning
  • Wolfram Language Documentation
  • Wolfram Language Introductory Book
  • Get Started with Wolfram
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Webinars & Training
  • Wolfram U
  • Summer Programs
  • Videos
  • Books
  • Public Resources
  • Wolfram|Alpha
  • Demonstrations Project
  • Resource System
  • Connected Devices Project
  • Wolfram Data Drop
  • Wolfram + Raspberry Pi
  • Wolfram Science
  • Computer-Based Math
  • MathWorld
  • Hackathons
  • Computational Thinking
  • View all...
  • Company
  • Events
  • About Wolfram
  • Careers
  • Contact
  • Connect
  • Wolfram Community
  • Wolfram Blog
  • Newsletter
© 2025 Wolfram
  • Legal & Privacy Policy
  • Site Map
  • WolframAlpha.com
  • WolframCloud.com