Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force jump back in time in DLFUX Subroutine

Status
Not open for further replies.

nelros

Mechanical
May 7, 2013
7
EU
Hi,
I am using the DFLUX Subroutine to calculate fluxes.
What I need is a method to jump back in time or increment.
The problem is:

IF ((Schritt=='1: Aufheizen').OR.(Schritt=='2: Halten').and.
1 (NPT==1)) Then
F1 = F0*0.45
end if

I believe that the flux value will change only for this node.
Thats why I tried this:

IF ((Schritt=='1: Aufheizen').OR.(Schritt=='2: Halten').and.
1 (NOEL==MP_Pyro1).and.(SOL<(Tmax/4*4))) then
Aufheizen=1
end if

IF ((Schritt=='1: Aufheizen').OR.(Schritt=='2: Halten').and.
1 (Aufheizen==1)) Then
F1 = F0*0.45
end if

This way I have only one increment with false values.
Does anyone have an idea how to solve this?

Thank you in advance!
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top