My Math Forum  

Go Back   My Math Forum > Science Forums > Computer Science

Computer Science Computer Science Forum


Thanks Tree1Thanks
Reply
 
LinkBack Thread Tools Display Modes
April 25th, 2017, 07:53 AM   #1
Member
 
Joined: Dec 2016
From: United States

Posts: 53
Thanks: 3

Math Focus: Abstract Simulations
Are Lagrangian simulations 100% accurate ?

Are Lagrangian simulations 100% accurate algebraically?

When programming in a Lagrangian function for determining the position of objects in a system, are previous point values used when calculating new points?

I am still struggling with lagrangian mathematics. I may need to step back to calculous.
InkSprite is offline  
 
April 26th, 2017, 03:37 AM   #2
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,400
Thanks: 479

Math Focus: Yet to find out.
I think in most practical cases your results are going to be approximate, otherwise we wouldn't bother with numerics. But likely there are contrived examples.

And yes, it is typically the case that after a phase or state space is established (i.e., the system of equations governing the system), the 'future' values, depend on the previous values, along with some scaling factors and so on.
Joppy is online now  
April 29th, 2017, 07:47 AM   #3
Member
 
Joined: Dec 2016
From: United States

Posts: 53
Thanks: 3

Math Focus: Abstract Simulations
Damn. So I can't reverse a system and get the initial state.
InkSprite is offline  
April 29th, 2017, 06:47 PM   #4
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,400
Thanks: 479

Math Focus: Yet to find out.
Umm. Depends on the system. What are you modelling ?
Joppy is online now  
April 30th, 2017, 09:41 AM   #5
Member
 
Joined: Dec 2016
From: United States

Posts: 53
Thanks: 3

Math Focus: Abstract Simulations
1000's of particles.
They can pass through each other. They are just points that pull on each other.
InkSprite is offline  
April 30th, 2017, 06:35 PM   #6
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,400
Thanks: 479

Math Focus: Yet to find out.
Is energy conserved in the system (do the particles undergo elastic collisions or exchange heat)?

For nonequilibrium dynamics problems (NEMD), I think running backwards would be troublesome due to stability in your error.
Joppy is online now  
May 1st, 2017, 06:59 AM   #7
Member
 
Joined: Dec 2016
From: United States

Posts: 53
Thanks: 3

Math Focus: Abstract Simulations
Quote:
Originally Posted by Joppy View Post
Is energy conserved in the system (do the particles undergo elastic collisions or exchange heat)?

For nonequilibrium dynamics problems (NEMD), I think running backwards would be troublesome due to stability in your error.
energy is conserved in the system. There is no heat exchanged. No elastic collisions. Is that like two rubber balls bouncing? no, none of that; not brick, or metal or anything. It's all just fields acting on points.

...
At some point int he simulation, energy may be added. From user input.
InkSprite is offline  
May 1st, 2017, 07:10 AM   #8
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,400
Thanks: 479

Math Focus: Yet to find out.
Quote:
Originally Posted by InkSprite View Post
energy is conserved in the system. There is no heat exchanged. No elastic collisions. Is that like two rubber balls bouncing? no, none of that; not brick, or metal or anything. It's all just fields acting on points.

...
At some point int he simulation, energy may be added. From user input.


Yes sometimes we have a constant field applied to the system for various reasons.

It's not always useful to think of physical examples when modelling abstract things, they tend to give the wrong impression.
There is no ball that will mimic your reductionist model of interacting particles.


Sent from my iPhone using Tapatalk
Joppy is online now  
May 1st, 2017, 09:44 AM   #9
Member
 
Joined: Dec 2016
From: United States

Posts: 53
Thanks: 3

Math Focus: Abstract Simulations
Okay. I'm not trying to make a ball. I just didn't know what you meant by "elastic" collisions. Like classical physics at the human scale?

I'm just trying to simulate pseudo particles.

Quote:
Yes sometimes we have a constant field applied to the system for various reasons.
What about multiple moving fields?

Last edited by InkSprite; May 1st, 2017 at 09:47 AM.
InkSprite is offline  
May 23rd, 2017, 05:52 AM   #10
Senior Member
 
Joined: Feb 2016
From: Australia

Posts: 1,400
Thanks: 479

Math Focus: Yet to find out.
Yes pseudo particles would likely collide elastically in your simulation. This is a fairly unrealistic situation in the real world (except for the refraction of light maybe). But it stands as a good starting point.

The 'fields' i was referring to could be thought of as a gradient which causes items in your simulation to have foccussing/defocussing effects. In that sense, they are 'moving'. However i assume you mean that these gradients could change with time or as specified by some function.
Joppy is online now  
Reply

  My Math Forum > Science Forums > Computer Science

Tags
100%, accurate, lagrangian, simulations



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lagrangian and action Jhenrique Calculus 1 June 20th, 2014 08:13 PM
Degenerate Lagrangian? kdbachovchin Differential Equations 1 May 5th, 2014 01:13 PM
Lagrangian Multiplier Tartaglia Economics 0 September 29th, 2013 02:22 PM
Lagrangian Help sircheesy Applied Math 3 March 1st, 2012 04:27 PM
Sum, which is more accurate? args0 Applied Math 2 February 9th, 2011 04:47 PM





Copyright © 2017 My Math Forum. All rights reserved.