CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

errors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2004, 14:20
Default errors
  #1
Fahad
Guest
 
Posts: n/a
Hello! i m trying to run a programme in flexpde but its giving an error "memory protection fault" can any body help i m using flexpde 2.20e on windows xphome.

here is the code :if there is an error in the code plz let me know many thanx Fahad

---------------------------------------------------- TITLE 'Test FIR'

COORDINATES

CARTESIAN3

EXTRUSION

SURFACE "BOTTOM" Z=0

LAYER "GaAs WAFER"

surface "metal" z=100e-9

layer "metal"

SURFACE "2DEG" Z=101e-9

LAYER "GaAs"

SURFACE "AlGaAs " Z=111e-9

LAYER "AlGaAs"

SURFACE "nAlGaAs " Z=141e-9

LAYER " nAlGaAs "

SURFACE "GaAs Top" Z=171e-9

LAYER "GaAs Top"

SURFACE "ELECTRODES TOP " Z=181e-9

LAYER "ELECTRODES"

SURFACE "TOP" Z=191e-9

SELECT

VARIABLES V

DEFINITIONS

KGaAs=13

KAlGaAs=12.90

Kmetal =1e4

Kair=1

knAlGaAs=13.23

K=Kair

kelectrodes=kair Eps0=8.54E-12

cond

Vgate=-45e-3 Velectrodes=0 d=1e-6

Ex= -dx(v) Ey= -dy(v) E= -grad(v) Em= magnitude(E)

Jx= cond*Ex Jy= cond*Ey J= cond*E Jm= magnitude(j) eqn= div( -cond*grad(v))

INITIAL VALUES EQUATIONS

DIV(K*Eps0*GRAD(V))=0

CONSTRAINTS BOUNDARIES

REGION 1 "chip BASE"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=kair cond=0

START (-2.5e-6,-0.5e-6) LINE TO (2.5e-6,-0.5e-6) LINE TO (2.5e-6,0.5e-6) LINE TO(-2.5e-6,0.5e-6) TO FINISH

REGION 2 "metalstrip"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=kair cond=0

START (-0.95e-6,-0.47e-6) line to (-0.95e-6,0.47e-6) to (0.95e-6,0.47e-6) to (0.95e-6,-0.47e-6) to finish

REGION 3 "SET"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=KMETAL VALUE(V)=0 cond=3.7e7

START (0.25e-6,0)

ARC(CENTER =0,0) ANGLE=360 TO FINISH

REGION 4 "GATE1"

LAYER "GaAs WAFER" K=kGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=kMETAL value(v)=-25e-03 cond=3.7e7 START (1.0e-6,0.5e-6) LINE TO (1.1e-6,0.5e-6) LINE TO (1.1e-6,0.35e-6) LINE TO (1.4e-6,0.5e-6) LINE TO (1.4e-6,0.5e-6)

LINE TO (1.1e-6,0.27e-6) LINE TO (1.1e-6,0.26e-6) LINE TO (1.0e-6,0.26e-6) TO FINISH

REGION 5 "GATE2"

LAYER "GaAs WAFER" K=kGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=kMETAL value(v)=-25e-03 cond=3.7e7 START (1.0e-6,-0.5e-6) LINE TO (1.1e-6,-0.5e-6) LINE TO (1.1e-6,-0.35e-6) LINE TO (1.5e-6,-0.5e-6) LINE TO (1.5e-6,-0.5e-6)

LINE TO (1.1e-6,-0.39e-6) LINE TO (1.1e-6,-0.35e-6) LINE TO (1.0e-6,-0.35e-6) TO FINISH

REGION 6 "GATE 3"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=KMETAL value(v)=-50e-03 cond=3.7e7

START (-1.0e-6,0.4e-6) LINE TO (-1.1e-6,0.4e-6) LINE TO (-1.1e-6,0.15e-6) LINE TO (-2.5e-6,0.15e-6) LINE TO (-2.5e-6,-0.15e-6)

LINE TO (-1.1e-6,-0.15e-6) LINE TO (-1.1e-6,-0.4e-6) LINE TO (-1.0e-6,-0.4e-6) TO FINISH

REGION 7 "DRAIN"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=Kmetal value(v)=0 cond=3.7e7

START (0.25e-6,0) LINE TO (0.35e-6,0) line to (0.35e-6,-0.5e-6) LINE TO (0.25e-6,-0.5e-6) TO FINISH

REGION 8 "source"

LAYER "GaAs WAFER" K=KGaAs cond=0

layer "metal" k=kmetal cond=5.99e7

LAYER "GaAs" K=KGaAs cond=6.4e-4

LAYER "AlGaAs" K=KAlGaAs cond=0

LAYER " nAlGaAs " k=knAlGaAs cond=0

LAYER "ELECTRODES" K=Kmetal value(v)=0 cond=3.7e7

START (-0.25*d,0) LINE TO (-0.35e-6,0) line to (-0.35e-6,-0.5e-6) line to (-0.25e-6,-0.5e-6) to finish

PLOTS

grid(x,y,z)

CONTOUR (V) ON SURFACE Z=101e-9

end

------------------------------------------------------

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 14:21
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 06:38.