تعریف یک چشمه حجمی به شکل استوانه و دو چشمه خطی و سطحی تبهگن شده در MCNP
Today
تعریف یک چشمه حجمی به شکل استوانه و دو چشمه خطی و سطحی تبهگن شده در MCNP
در MCNP برای تعریف چشمههای مختلف میتوانید از کارت SDEF (Source Definition) استفاده کنید. برای این که یک چشمه حجمی به شکل استوانه و همچنین دو چشمه خطی و سطحی تبهگن شده تعریف کنید، به کارتهای هندسی و توضیحات آنها نیاز است. در زیر یک نمونه کلی ارائه میشود:
چشمه حجمی استوانهای
برای تعریف چشمه حجمی استوانهای میتوانید از کارت SDEF به شکل زیر استفاده کنید:
SDEF POS=0 0 0 ERG=1.0 PAR=2 RAD=d1 Z=d2 SI1 L 0 5 $ شعاع استوانه SP1 D 1 SI2 L -10 10 $ ارتفاع استوانه SP2 D 1
در این مثال:
POS موقعیت مرکزی چشمه را تعیین میکند.
RAD و Z به ترتیب شعاع و ارتفاع استوانه را مشخص میکنند.
ERG انرژی ذرات تابشی و PAR نوع ذرات (مثلاً نوترون) را تعریف میکند.
چشمه خطی
برای تعریف یک چشمه خطی:
SDEF POS=0 0 0 ERG=1.0 PAR=2 VEC=0 0 1 DIR=d1 SI1 L 0 5 $ طول خط SP1 D 1
VEC جهت خطی تابش را تعریف میکند.
DIR توزیع زاویهای را مشخص میکند.
چشمه سطحی
چشمه سطحی معمولاً برای تابش از یک صفحه به کار میرود:
SDEF POS=0 0 0 ERG=1.0 PAR=2 SUR=1 DIR=1
SUR شماره سطح تعریفشده در هندسه است.
DIR جهت تابش را نشان میدهد.
Can you provide more examples of source definitions?
Certainly! Here are additional examples of source definitions in MCNP for various configurations:
Example 1: Point Source
For a single point source with specific coordinates:
SDEF POS=5 5 10 ERG=1.5 PAR=1
POS defines the position of the source at (5, 5, 10).
ERG specifies the energy of the emitted particles (1.5 MeV).
PAR identifies the particle type (1 = neutron).
Example 2: Directional Source
To model a source emitting particles in a specific direction:
SDEF VEC=0 0 1 DIR=d1 POS=0 0 0 PAR=2 SI1 L 0.1 1.0 SP1 D 1
VEC defines the vector direction of emission (along the z-axis here).
DIR describes the angular distribution (uniform within given bounds).
Example 3: Spherical Volume Source
For particles emitted uniformly within a spherical volume:
SDEF POS=0 0 0 RAD=d1 ERG=2.0 PAR=2 SI1 H 0 5 SP1 D 1
RAD defines the radius of the sphere (distribution given by SI1/SP1).
POS indicates the center of the sphere.
Example 4: Surface Emission
To define a source distributed across a specified surface:
SDEF SUR=1 PAR=2 ERG=1.0
SUR corresponds to the ID of the surface in the geometry definition.
PAR and ERG define particle type and energy.
Example 5: Energy Spectrum
To model a source with an energy spectrum:
SDEF ERG=d1 PAR=1 SI1 H 0.1 1.0 10.0 SP1 D 0.3 0.5 0.2
SI1/SP1 describe the energy bins and their relative probabilities.
These are broad examples that can be adapted to your specific geometry and simulation needs. Let me know if you'd like more tailored configurations or details!
اگر هدف شما تعریف چشمههای تابش در MCNP است و نیاز به جزئیات بیشتری دارید، میتوانم مثالهای مختلفی ارائه دهم. چشمههای حجمی، خطی، سطحی، نقطهای، و حتی با طیف انرژی قابل تعریف هستند. همچنین، اگر به مفهوم کدنویسی بولی در MCNP علاقه دارید، میتوانم توضیحات تکمیلی مرتبط با چگونگی استفاده از عملیات منطقی برای تعریف هندسههای پیچیدهتر را برایتان شرح دهم.
Message Copilot