Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-14 Thread SUBHASH SAURABH
I have completed my application and submitted it to Sympy wiki. Here is the 
link 
https://github.com/sympy/sympy/wiki/GSoC-2018-Application-Subhash-Saurabh:-Improving-2D-Beams-and-Implementing-3D-beams

Jason , Sartaj can you please review my application and suggest if any 
changes/addition are required.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/93abe465-4515-43b0-a666-0d5c01dd61c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-11 Thread Sartaj Singh
Hi Subhash,

I will suggest starting writing the proposal, and adding each piece of
functionality piece by piece. It will help you think about the API more
carefully and also give you an idea of the timeline. It's important to make
a proposal that fits well with the GSoC timeline.

On 11 March 2018 at 18:10, SUBHASH SAURABH 
wrote:

> One more thing that I think can be implemented by Singularity function is
> Influence Line Diagram(ILD) . After implementing plotting for shear force
> and bending moment plotting of ILD can also be added.
>
> We can implement a function compute_ild that takes position of a beam as
> argument and returns the ILD.
>
> Jason what do think about it. Should I go ahead and include this in
> proposal as well .
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/f815cf7c-ea89-4c4c-adec-3ee911395548%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
*Sartaj Singh*

*Mathematics and Computing*,
Indian Institute of Technology,
Varanasi - 221 005 INDIA

E-mail: singhsarta...@gmail.com, *sartaj.singh.ap...@itbhu.ac.in
*

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAC%2BH8-FObpKzebuCNuphuCevNrmU%2BBpzfZCZmFKKK6MXimYQZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-11 Thread SUBHASH SAURABH
One more thing that I think can be implemented by Singularity function is 
Influence Line Diagram(ILD) . After implementing plotting for shear force 
and bending moment plotting of ILD can also be added.

We can implement a function compute_ild that takes position of a beam as 
argument and returns the ILD.

Jason what do think about it. Should I go ahead and include this in 
proposal as well .

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/f815cf7c-ea89-4c4c-adec-3ee911395548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-08 Thread Jason Moore
Subash,

These all sound like great ideas! Looking forward to the proposal.

Jason

moorepants.info
+01 530-601-9791

On Thu, Mar 8, 2018 at 6:34 AM, SUBHASH SAURABH  wrote:

> I have gone through the current continuum mechanics package and I think
> the following can be implemented in this summer.
>
> 1. Improve the beam module so that it can solve for indeterminate beams.
> 2. Implement plotting of shear_force, bending_moment, slope and deflection.
> 3. Implement CrossSection class that can calculate second moment using the
> given cross-section.
> 4. Implement a JointBeam class that can join multiple beams and then the
> entire system can be solved.
> 5. Implement a function that gives the stress and strain at any given
> location (in 2D).
> 6. Implement a 3DBeam class that can solve a beam in 3D and can give the
> stress and strain any arbitrary point.
>
> I will start working on the formal proposal from Monday.
> Jason it will be great if you can suggest some other features that I have
> missed.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/67bd6cfd-eeaa-4463-adbf-3def6b427ac9%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1Ag0b29FoYDuocMJY_0rCtbTGFpPeZZBnmnHTWvs8hCzZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-08 Thread SUBHASH SAURABH
I have gone through the current continuum mechanics package and I think the 
following can be implemented in this summer.

1. Improve the beam module so that it can solve for indeterminate beams.
2. Implement plotting of shear_force, bending_moment, slope and deflection.
3. Implement CrossSection class that can calculate second moment using the 
given cross-section.
4. Implement a JointBeam class that can join multiple beams and then the 
entire system can be solved.
5. Implement a function that gives the stress and strain at any given 
location (in 2D).
6. Implement a 3DBeam class that can solve a beam in 3D and can give the 
stress and strain any arbitrary point.

I will start working on the formal proposal from Monday. 
Jason it will be great if you can suggest some other features that I have 
missed.


-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/67bd6cfd-eeaa-4463-adbf-3def6b427ac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-03-04 Thread SUBHASH SAURABH
While solving different beam problems I found that currently only 
determinate beams can be solved (simply supported, cantilever, 
overhanging). 
However it is unable to solve indeterminate beams (fixed, propped 
cantilever and  continuous beams).

For fixed beam
>>> from sympy.physics.continuum_mechanics.beam import Beam
>>> from sympy import symbols, Piecewise
>>> E, I = symbols('E, I')
>>> R1, R2, R3, R4 = symbols('R1, R2, R3, R4')

>>> b = Beam(4, E, I)
>>> b.apply_load(R1, 0, -1)
>>> b.apply_load(R2, 0, -2)
>>> b.apply_load(R3, 4, -1)
>>> b.apply_load(R4, 4, -2)
>>> b.apply_load(6, 2, -1)
>>> b.bc_deflection = [(0, 0), (4, 0)]
>>> b.bc_slope = [(0,0), (4,0)]

>>> b.solve_for_reaction_loads(R1,R2,R3,R4)
>>>b.shear_force()
R3*SingularityFunction(x, 4, 0) + R4*SingularityFunction(x, 4, -1) + (-R3 - 
6)*SingularityFunction(x, 0, 0) + (4*R3 - R4 + 12)*SingularityFunction(x, 0, 
-1) + 6*SingularityFunction(x, 2, 0)
>>> b.bending_moment()
R3*SingularityFunction(x, 4, 1) + R4*SingularityFunction(x, 4, 0) + (-R3 - 6
)*SingularityFunction(x, 0, 1) + (4*R3 - R4 + 12)*SingularityFunction(x, 0, 
0) + 6*SingularityFunction(x, 2, 1)

Currently it reduces from 4 reactions to 2 reactions .
However these type of problem can easily be solved using various methods 
for indeterminate analysis for example - three moment theorem .

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/ae70193b-cd61-4533-b774-348397f62d25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-02-27 Thread SUBHASH SAURABH
I am currently working on this problem and I will submit a PR as soon as 
possible.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c91b1a37-8042-41b0-97f2-c8083264c09d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-02-25 Thread Jason Moore
Looks like a good starting point. i recommend opening an issue about this.

moorepants.info
+01 530-601-9791

On Fri, Feb 23, 2018 at 9:55 AM, SUBHASH SAURABH <
subhashsaurabh...@gmail.com> wrote:

>  In this PR  Sampad Saha
> mentioned to check if the beam bending works with units or not.
>
> Currently it doesn't work and I think it requires some changes in the
> units module as well as in continuum_mechanics package.
>
> For the code snippet
>
> from sympy import *
> from sympy.physics.units import meter, kilogram, newton, second, kilo
> from sympy.physics.continuum_mechanics.beam import Beam
> E, I = symbols('E, I')
> R1, R2 = symbols('R1, R2')
> b = Beam(3*meter, E*newton/meter**2, I*meter**4)
> b.apply_load(-8*kilo*newton, 0, -1)
> b.apply_load(R1*kilo*newton, 1, -1)
> b.apply_load(R2*kilo*newton, 3, -1)
> b.apply_load(12*kilo*newton, 3, -2)
> b.bc_deflection = [(1, 0), (3, 0)]
> b.solve_for_reaction_loads(R1, R2)
> print(b.reaction_loads)
>
>  It currently gives ValueError
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/3b72dbfd-43e6-4ea7-82f0-c44819189a55%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1Ahg4LjeojqWxL8ULMkcAeVdORhNy7P8z3yCyFPBGmHgCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-02-23 Thread SUBHASH SAURABH
 In this PR  Sampad Saha 
mentioned to check if the beam bending works with units or not.

Currently it doesn't work and I think it requires some changes in the units 
module as well as in continuum_mechanics package.

For the code snippet

from sympy import *
from sympy.physics.units import meter, kilogram, newton, second, kilo
from sympy.physics.continuum_mechanics.beam import Beam
E, I = symbols('E, I')
R1, R2 = symbols('R1, R2')
b = Beam(3*meter, E*newton/meter**2, I*meter**4)
b.apply_load(-8*kilo*newton, 0, -1)
b.apply_load(R1*kilo*newton, 1, -1)
b.apply_load(R2*kilo*newton, 3, -1)
b.apply_load(12*kilo*newton, 3, -2)
b.bc_deflection = [(1, 0), (3, 0)]
b.solve_for_reaction_loads(R1, R2)
print(b.reaction_loads)

 It currently gives ValueError 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/3b72dbfd-43e6-4ea7-82f0-c44819189a55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] GSOC Continuum mechanics 2D beam solving system

2018-02-18 Thread Jason Moore
Subhash,

I recommend trying to solve beam problems with the existing code. You will
discover limitations of the current software in that process.

Jason

moorepants.info
+01 530-601-9791

On Sat, Feb 10, 2018 at 3:16 AM, SUBHASH SAURABH <
subhashsaurabh...@gmail.com> wrote:

>
> Hello,
>
> I want to work on the 2D beam solving system in GSOC this year.
>
> I have some idea about beam stress/strain analysis as I having taken few
> courses(Solid Mechanics, Structural Analysis 1,2) related to it in my
> college(IIT Guwahati)
>
> I have also submitted some PR
> to
> sympy repo.
>
> Is there any bug , incomplete PR related to 2D beam solving system so that
> I can get familiar with it?
>
> Thanks
>
> Subhash Saurabh
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/ad2c8be6-7bee-4bff-9c60-6aed1a8a5e50%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1AiEhKEXbiXRmd7NWbuLEMsXw96_U4MVkNL%3DCiYhihcAjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] GSOC Continuum mechanics 2D beam solving system

2018-02-10 Thread SUBHASH SAURABH

Hello, 

I want to work on the 2D beam solving system in GSOC this year. 

I have some idea about beam stress/strain analysis as I having taken few 
courses(Solid Mechanics, Structural Analysis 1,2) related to it in my 
college(IIT Guwahati) 

I have also submitted some PR 
to
 
sympy repo.

Is there any bug , incomplete PR related to 2D beam solving system so that 
I can get familiar with it?

Thanks 

Subhash Saurabh

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/ad2c8be6-7bee-4bff-9c60-6aed1a8a5e50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.