Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- For Loop

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-17-2018
06:28 AM

12-17-2018
06:28 AM

Hey Guys,

So, i'm trying to do For loop in my file to define a concentration changes in respect to x.

The approach used :

I have to first solve the CO2lSS with ode solver and resulted in CO2lSS(x).

And from there i substitute into the equation of CO2gSS(x) equation, where inside the equation there the CO2gin and CO2lin which i want to do iteration.

CO2lin (n) has to equal to the CO2lout (n-1) and CO2gin (n) has to equal to CO2gout (n-1).

Where n is the number of cycle, and each cycle is 250 m.

So i want to make a loop where everytime the concentration reach x=250 m, that value will be used for another concentration in value.

I tried but it still gives error. Hope you guys can help.

I would really appreciate it.

Thank you.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-17-2018
07:09 AM

12-17-2018
07:09 AM

There is absolutely NO need to open a new topic for this. To maintain the flow of information please continue in the existing topic:

https://community.ptc.com/t5/PTC-Mathcad/Help-for-iteration/m-p/584661#M183728

Luc

1 REPLY 1

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-17-2018
07:09 AM

12-17-2018
07:09 AM

There is absolutely NO need to open a new topic for this. To maintain the flow of information please continue in the existing topic:

https://community.ptc.com/t5/PTC-Mathcad/Help-for-iteration/m-p/584661#M183728

Luc

Top Tags