Welcome, Guest
Username: Password: Remember me

TOPIC: Different types of element 'ELM' at subroutine OS

Different types of element 'ELM' at subroutine OS 8 years 10 months ago #19413

  • amyrhulbakar
  • amyrhulbakar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 46
  • Thank you received: 4
Hello,

I got an error message
OS (BIEF) : DIFFERENT TYPES FOR TB1 (12) AND TN1 (11)
when tried to do multiplication between TIBS=>TB%ADR(1)%P and TN%ADR(1)%P
CALL OS('X=YZ    ',X=DPST,Y=TIBS,Z=TN%ADR(1)%P)

TIBS=>TB%ADR(1)%P was a result from other operations with vectors TAUB and CF
CALL OS('X=CYZ   ',X=TAUB,Y=CF,Z=UNORM,C=0.5D0*ROEAU)
Following the checking on the types of element, TAUB which initially set to IELMU did copy of the CF structure from ELM=11 to ELM=12.

Can somebody show me how to change the ELM either of CF or TAUB from 12 back to 11, so the operation can be done with TN%ADR(1)%P of IELMT?
The administrator has disabled public write access.

Different types of element 'ELM' at subroutine OS 8 years 10 months ago #19419

  • amyrhulbakar
  • amyrhulbakar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 46
  • Thank you received: 4
Hello,

It works fine now after I changed the DISCRETIZATIONS IN SPACE for velocity from 12 to 11, to make it same with the discretization of tracer.

Regards
The administrator has disabled public write access.

Different types of element 'ELM' at subroutine OS 8 years 10 months ago #19429

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Of course it works if you do this, but the discretisation of velocity is changed also. To change the discretisation of e.g. TAUB :

INTEGER IELM

IELM=12
CALL CHGDIS(TAUB,IELM,11,MESH)

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Different types of element 'ELM' at subroutine OS 8 years 10 months ago #19444

  • amyrhulbakar
  • amyrhulbakar's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 46
  • Thank you received: 4
Hello JMH,

Thank you for your reply. I did as you suggested and changed the discretisation of TAUB back to 12 for the operation with CF and UNORM during the next iteration. Them work as follow:

IELM=11
CALL CHGDIS(TAUB,IELM,12,MESH)

CALL OS('X=CYZ ',X=TAUB,Y=CF,Z=UNORM,C=0.5D0*ROEAU)

IELM=12
CALL CHGDIS(TAUB,IELM,11,MESH)

Kind regards,
Amyrhul
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.