...
An example for Track3P multipacting computation on a single field level. Field gradient: 97e+06
Code Block |
---|
// If you don't give this block, it will use default value
ParticlesTrajectories: // record particles' trajectory, only for running single
//field case
{ ParticleFile: p // file name
Skip: 10 // write file each 10 steps
Start: 10 // start time step for writing file
Stop: 100000 // stop time step for writing file
}
// Field level(V/m) / Port power(W)
FieldScales:
{
ScanToken: 0 // 1: scan, 0: no scan
Scale: 97e+06 //field scale for particle trajectory
}
//Normalize field, only for closed waveguide case
NormalizedField:
{
StartPoint: 0 0 0.0486225 //start point of the line for field integral calculation
EndPoint: 0 0 0.2061 //end point of the line for field integral calculation
}
// Primary particles emission
Emitter:
{
x0: -0.001
x1: 0.001
y0: 0.09
y1: 0.12
z0: -0.068
z1: 0.068
BoundaryID: 6
}
Material:{
Type: Primary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Secondary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Absorber
BoundarySurfaceID: 3 4 7 8 //Boundary surface ID
}
Material:{
Type: SymmetryPlane
BoundarySurfaceID: 1 2 //Boundary surface ID
}
OutputImpacts: on
// Field information container
Domain:
{
PostprocessFile: ./vector1/postprocess.in
}
Postprocess: // multipacting postprocess
{
Toggle: on // on: postprocess, off: no postprocess
ResonantParticles: // postprocess for resonant particles
{
Token: on // on: analysis resonant particles, no: no analysis is done for resonant particles
}
}
|
An example of multipacting simulation on a field level scan case
Code Block |
---|
// Field level(V/m) / Port power(W)
FieldScales:
{
ScanToken: 1 // 1: scan, 0: no scan
Minimum: 1e+06
Maximum: 100e+06
}
//Normalize field, only for closed waveguide case
NormalizedField:
{
StartPoint: 0 0 0.0486225 //start point of the line for field integral calculation
EndPoint: 0 0 0.2061 //end point of the line for field integral calculation
}
// Primary particles emission
Emitter:
{
x0: -0.001
x1: 0.001
y0: 0.09
y1: 0.12
z0: -0.068
z1: 0.068
BoundaryID: 6
}
Material:{
Type: Primary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Secondary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Absorber
BoundarySurfaceID: 3 4 7 8 //Boundary surface ID
}
Material:{
Type: SymmetryPlane
BoundarySurfaceID: 1 2 //Boundary surface ID
}
OutputImpacts: on
// Field information container
Domain:
{
PostprocessFile: ./vector1/postprocess.in
}
Postprocess: // multipacting postprocess
{
Toggle: on // on: postprocess, off: no postprocess
ResonantParticles: // postprocess for resonant particles
{
Token: on // on: analysis resonant particles, no: no analysis is done for resonant particles
}
}
|
...
An example of dark current simulation
Code Block |
---|
TotalTime: 3 //total running time in RF cycles, default: 20 RF cycle
// Field level(V/m) / Port power(W)
FieldScales:
{
ScanToken: 0 // 1: scan, 0: no scan
Scale: 97e+06 //field scale for particle trajectory
}
//Normalize field, only for closed waveguide case
NormalizedField:
{
StartPoint: 0 0 0.0486225 //start point of the line for field integral calculation
EndPoint: 0 0 0.2061 //end point of the line for field integral calculation
}
// Primary particles emission
Emitter:
{
t0: 0 //time(in RF cycle) for start emission
t1: 1 //time(in RF cycle) for end emission
Type: 4
Position: 4.0388e-4 4.63728e-3 6.49586e-2
BoundaryID: 6
}
Material:{
Type: Primary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Secondary
BoundarySurfaceID: 6 //Boundary surface ID
}
Material:{
Type: Absorber
BoundarySurfaceID: 3 4 7 8 //Boundary surface ID
}
Material:{
Type: SymmetryPlane
BoundarySurfaceID: 1 2 //Boundary surface ID
}
OutputImpacts: on
// Field information container
Domain:
{
dt: 0.5
PostprocessFile: ./vector1/postprocess.in
MaxImpacts: 1
}
Postprocess: // multipacting postprocess
{
Toggle: on // on: postprocess, off: no postprocess
ResonantParticles: // postprocess for resonant particles
{
Token: off // on: analysis resonant particles, no: no analysis is done for resonant particles
InitialImpacts: 4 // particles with impacts number greater than initial impacts are considered, default is 4
EnergyRange: 10 10000 //particles with impact energy fall in this region is considered, default value: >10ev, <10000ev
}
DKSingleEmit:
{
Token: on
FileName: DKSingleEmit
}
}
|