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

how to plot this function

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2008, 01:52
Default how to plot this function
  #1
ztdep
Guest
 
Posts: n/a
dear friends: i have a function

sin(i*Pi*x), x=varied from 0 to 1. i want to know how to plot this function, since it include a complex number (i) regards
  Reply With Quote

Old   August 13, 2008, 06:41
Default Re: how to plot this function
  #2
Markus Lummer
Guest
 
Posts: n/a
1) You can use gnuplot. gnuplot can handle complex functions.

2) You can split the sine in real and complex part:

sin(x+iy) = sin(x)cosh(y) + i cos(x) sinh(y)

Regards, Markus
  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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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